Skip to content

0.2.3 singles

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

Template.singles

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

{ [name: string]: Object > Single > Tag > Content > Prototype };

Hash with extensions of Single.

Contains

br hr img input base frame link meta style

Instances

var img = Templates.singles.img;

img('#general.class[src=image.png]').render(console.log);
<img class="class" id="general" src="image.png"/>
Clone this wiki locally