1.0.0 • Published 9 months ago

@jtorm/data-method v1.0.0

Weekly downloads
-
License
GPL-3.0
Repository
gitlab
Last release
9 months ago

jTorm Data Method

Preset and manipulate data before the following method call.

Install

npm install @jtorm/data-method

Properties

Any key: value is supported. It supports also an or statement, to see if a variable has been set or else use a default e.g. tesKey: test || 'default'.

Example

body->data(html: myHtmlVar || '<p>test</p>')->append {
    h: html;
}
1.0.0

9 months ago

0.0.4

2 years ago

0.0.3

3 years ago

0.0.2

3 years ago