Class: Tag

index.Tag

A tag is tied to anode or entry

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new Tag(name): Tag

Parameters

NameType
namestring

Returns

Tag

Defined in

src/model/tag.js:41

Properties

leading

leading: undefined | string

Leading whitespace

Defined in

src/model/tag.js:29


name

Readonly name: string

The tag itself

Defined in

src/model/tag.js:48


representation

representation: undefined | string

String representation of the tag

Defined in

src/model/tag.js:22


trailing

trailing: undefined | string

Trailing whitespace

Defined in

src/model/tag.js:36

Methods

clone

clone(): Tag

Create an identical copy of this tag

Returns

Tag

Defined in

src/model/tag.js:63