Skip to content

0.2.0 el Double

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

[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 = '>';

Inherits

Clone this wiki locally