@jtorm/layer-method
v1.0.0
Published
jTorm Layer Method
Downloads
8
Readme
jTorm - Layer Method
Install
npm install @jtorm/layer-methodProperties
| Option | Type | Required | Description |
|--------|----------|----------|--------------------------------------------------------------------------------|
| e | string | true | Event when to process e.g. before, after. |
| t | string | true | Type when to process e.g. iteration, view. |
| i | string | false | ID, optional when component has a cache ID from parent, also overrules parent. |
| z | int | false | Z-index. |
Example
->layer {
e: 'after';
t: 'view';
z: '1';
a->attr {
n: 'class';
v: 'active';
}
}