Class: SelfclosingTagTk

tokens/SelfclosingTagTk~SelfclosingTagTk(name, attribs, dataAttribs)

HTML tag token for a self-closing tag (like a br or hr).

Constructor

new SelfclosingTagTk(name, attribs, dataAttribs)

...
Parameters:
Name Type Description
name string
attribs Array.<KV>
dataAttribs Object
Source:

Extends

  • module:tokens/SelfclosingTagTk~Token

Members

attribs :Array.<KV>

...

dataAttribs :Object

...

name :string

...

Methods

toJSON() → {string}

...
Source:
Returns:
Type
string