Class: TagTk

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

HTML tag token.

Constructor

new TagTk(name, attribs, dataAttribs)

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

Data-parsoid object.

Source:

Extends

  • module:tokens/TagTk~Token

Members

attribs :Array.<KV>

...
Type:
Source:

dataAttribs :Object

...
Type:
Source:

name :string

...
Type:
Source:

Methods

toJSON() → {string}

...
Source:
Returns:
Type
string