Skip to content

0.2.2 content

ivansglazunov edited this page Jan 26, 2015 · 4 revisions

Template.content

[new] (...arguments: Array<TData>) => this;

Template.content > Content > Prototype

Extension of Content.

  • Simple syntax generate content without tags.
  • Constructor arguments will be passed in the .content.

Instance

var content = Templates.content;

var instance = content('content');
instance.render(console.log);
content

Inherits

Clone this wiki locally