Skip to content

0.3.0 Single

Ivan S Glazunov edited this page Feb 20, 2015 · 2 revisions

sources/single

Templates.Single

[new] T.Single(...arguments: Array<TSelector|TAttributes>) => this;

Added assembler single tag.

var i1 = T.Single().name('abc').attributes({ a: 1 })
var i2 = i1.extend()('.def', { b: null });
console.log(i2); // <abc a="1" class="def" b/>
Clone this wiki locally