Methods
closeAll
-
Returns void
closeTag
- closeTag(name: string): void
-
Parameters
Returns void
indent
- indent(str: string): string
-
Parameters
Returns string
inlineTag
- inlineTag(name: string, attrs?: any, content?: undefined | string): void
-
Parameters
-
name: string
-
Optional attrs: any
-
Optional content: undefined | string
Returns void
openTag
- openTag(name: string, attrs?: any): void
-
Parameters
-
name: string
-
Optional attrs: any
Returns void
closes all open tags and ends the document