Skip to content

0.2.8 elements Double

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

Double

[new] (...arguments: Array<IAttributes|TSelector>) => .content => this;

Double > Tag > Content > Prototype

  • Provides single tags view methods.

Instance

var Double = Templates.Double;

var div = Double('#general.class')('content').name('div');
div.render(console.log);
<div class="class" id="general">content</div>

._quotesOpenLeft

string = '<';

._quotesOpenRight

string = '>';

._quotesCloseLeft

string = '</';

._quotesCloseRight

string = '>';

Clone this wiki locally