0.0.4 • Published 2 years ago
@jtorm/session-method v0.0.4
jTorm Session Method
Install
npm install @jtorm/session-method
Config
Option | Type | Required | Description |
---|---|---|---|
k | any | true | Key |
v | any | false | Value it has to match |
Example
Below an example when data component exists, use that, else use a default component (list.default).
.mdc-drawer__content->append {
->if {
data: component;
->ui {
component: component;
}
->else {
->ui {
component: "list.default";
}
}
}
}