Skip to content

0.1.0 proto Double

Ivan S Glazunov edited this page Jan 22, 2015 · 1 revision

[new] ([selector], [attributes]) => .content(...arguments: data[]) => instance: Double > Tag > Contents > Prototype

Methodology unique to a double tags.

Implementations of Double here: double.

Double('.container')('content').name('div');
<div class="container">content</div>
var div = Double()().name('div').extend();
var span = Double()().name('span').extend();

div('#avatar.container')(span('.bold')());
<div id="avatar" class="container"><span class="bold"></span></div>

._quotesOpenLeft

string = '<'

._quotesOpenRight

string = '>'

._quotesCloseLeft

string = '</'

._quotesCloseRight

string = '>'

Clone this wiki locally