-
Notifications
You must be signed in to change notification settings - Fork 0
addPreChore()
github-actions[bot] edited this page Sep 30, 2024
·
1 revision
addPreChore() adds a new pre chore making it so you can use without creating an instance
const Class = require('aepl');
let data = [1, 2, 3];
new Class("Main", class {});
Main.addPreChore("reverse", `return data.reverse();`);
console.log(Main.reverse()); // [3, 2, 1]
description: adds a new pre chore making it so you can use without creating an instance
calls:
- addPreChore()
- setPreChore()
- newPreChore()
If you want to check out the different versions and changes check out the releases
For a look into the development side check out the src folder
init()
from()
inspect()
new()
addClass()
addFunc()
addProp()
addChore()
addAsyncChore()
addPreClass()
addPreFunc()
addPreProp()
addPreChore()
addPreAChore()
setName()
setInspect()
Subclass
Function
Property
Chore
AsyncChore
Preclass
PreFunction
PreProperty
PreChore
PreAsyncChore
compact
multiple-layers
event handler
alternate names
setting and getting inspects