Skip to content

0.2.1 el Doctype

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

[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 = '>';

Inherits

Clone this wiki locally