@jtorm/each-method
v1.0.0
Published
jTorm Each Method
Readme
jTorm Each Method
Install
npm install @jtorm/each-methodProperties
| Option | Type | Required | Description |
|--------|----------|----------|-------------------------------------------------|
| d | string | true | Data collection. |
| a | string | true | As current item reference within the loop. |
| m | string | false | E.g. append, prepend, replace. Default: append. |
| e | string | false | Set certain elements to the scope to process. |
Example
body->each(d: dataSet, a: row)->append {
h: row.html;
}