Skip to content

0.3.0 Double

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

sources/double

Templates.Double

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

Added assembler double tag.

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