Skip to content

0.2.7 elements Doctype

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

Doctype

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

Doctype > Tag > Content > Prototype

  • Provides doctype view methods.

Instance

var Doctype = Templates.Doctype;

var html = Doctype('[name]');
html.render(console.log);
<!DOCTYPE html>

._name

string = 'DOCTYPE';

._quotesLeft

string = '<!';

._quotesRight

string = '>';

Clone this wiki locally