3 ms·
Imba supports the syntax for IDs and classes: <label#foo.bar .baz=isBaz> "Label" compiles to: ti$('label','foo').flag('bar').flag('baz',this.isBaz())
by judofyr 11y ago
Imba supports the syntax for IDs and classes:
<label#foo.bar .baz=isBaz> "Label"
compiles to:
ti$('label','foo').flag('bar').flag('baz',this.isBaz()).setText("Label").end()
where `flag` is a method which adds to the class list (unless the second argument is falsey).
- thom_nic 11y agoOk that is awesome.