Home > @uniformdev/design-system > LinkNode

LinkNode class

Signature:

Extends: ElementNode

Constructors

Constructor

Modifiers

Description

(constructor)(props, key)

Constructs a new instance of the LinkNode class

Properties

Property

Modifiers

Type

Description

__link

NonNullable<LinkParamValue>

Methods

Method

Modifiers

Description

canBeEmpty()

canInsertTextAfter()

canInsertTextBefore()

clone(node)

static

createDOM(config)

exportJSON()

getLink()

getType()

static

importDOM()

static

importJSON(serializedNode)

static

insertNewAfter(selection, restoreSelection)

isInline()

setLink(link)

updateDOM(prevNode, a)