Skip to content

0.1.0 imple double

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

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

Double tags as div and body.

Tags

html body head h1 h2 h3 h4 h5 h6 hgroup div p address blockquote pre ul ol li dl dt dd fieldset legend form noscript object table thead tbody tfoot tr td th col colgroup caption span b big strong i var cite em q del s strike tt code kbd samp small sub sup dfn bdo abbr acronym a button textarea select option article aside figcaption figure footer header section main nav menu audio video embed canvas output details summary mark meter progress template comment title script

Example

Templates.double.div('.container')('content').render(function(result) {
	console.log(result);
});
<div class="container">content</div>
Clone this wiki locally