1.0.0 • Published 1 year ago
@jtorm/each-method v1.0.0
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;
}