Class: HTML

Hierarchy

Implements

Constructors

constructor

+ new HTML(token: HTMLToken): HTML

Overrides TemplateImpl.constructor

Defined in template/html.ts:8

Parameters:

Name Type
token HTMLToken

Returns: HTML

Properties

Private str

str: string

Defined in template/html.ts:8


token

token: HTMLToken

Implementation of Template.token

Inherited from TemplateImpl.token

Defined in template/template-impl.ts:2

Methods

render

render(ctx: Context, emitter: Emitter): IterableIterator‹void›

Implementation of Template

Defined in template/html.ts:13

Parameters:

Name Type
ctx Context
emitter Emitter

Returns: IterableIterator‹void›