Home > @uniformdev/design-system > LinkNode

LinkNode class

Signature:

Extends: ElementNode

Constructors

<table><thead><tr><th>

Constructor

</th><th>

Modifiers

</th><th>

Description

</th></tr></thead> <tbody><tr><td>

(constructor)(props, key)

</td><td>

</td><td>

Constructs a new instance of the LinkNode class

</td></tr> </tbody></table>

Properties

<table><thead><tr><th>

Property

</th><th>

Modifiers

</th><th>

Type

</th><th>

Description

</th></tr></thead> <tbody><tr><td>

__link

</td><td>

</td><td>

NonNullable<LinkParamValue>

</td><td>

</td></tr> </tbody></table>

Methods

<table><thead><tr><th>

Method

</th><th>

Modifiers

</th><th>

Description

</th></tr></thead> <tbody><tr><td>

canBeEmpty()

</td><td>

</td><td>

</td></tr> <tr><td>

canInsertTextAfter()

</td><td>

</td><td>

</td></tr> <tr><td>

canInsertTextBefore()

</td><td>

</td><td>

</td></tr> <tr><td>

clone(node)

</td><td>

static

</td><td>

</td></tr> <tr><td>

createDOM(config)

</td><td>

</td><td>

</td></tr> <tr><td>

exportJSON()

</td><td>

</td><td>

</td></tr> <tr><td>

getLink()

</td><td>

</td><td>

</td></tr> <tr><td>

getType()

</td><td>

static

</td><td>

</td></tr> <tr><td>

importDOM()

</td><td>

static

</td><td>

</td></tr> <tr><td>

importJSON(serializedNode)

</td><td>

static

</td><td>

</td></tr> <tr><td>

insertNewAfter(selection, restoreSelection)

</td><td>

</td><td>

</td></tr> <tr><td>

isInline()

</td><td>

</td><td>

</td></tr> <tr><td>

setLink(link)

</td><td>

</td><td>

</td></tr> <tr><td>

updateDOM(prevNode, a)

</td><td>

</td><td>

</td></tr> </tbody></table>