27 ms·
People also know CSS query selectors... <label> <input:checkbox:checked#myCheckbox> <span> Some Text Might be nicer than actually spelling out
by tracker1 11y ago
People also know CSS query selectors...
<label>
<input:checkbox:checked#myCheckbox>
<span> Some Text
Might be nicer than actually spelling out the attributes and properties, if you're taking an already wrist friendly language and bolting on tags, then taking that a step farther would probably be a nice idea as well.
- judofyr 11y agoImba 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.