type

Link

@Js
class Link : DocElem

Link is a hyperlink.

constructors

fields

methods

htmlName
id
isInline
isTextUri

Is the text of the link the same as the URI string

setText

Change the text to display for the link

Slot Details

htmlName

virtual override Str htmlName()

id

virtual override DocNodeId id()

isCode

Bool isCode := false

isInline

virtual override Bool isInline()

isTextUri

Bool isTextUri()

Is the text of the link the same as the URI string

line

Int line

make

new make(Str uri)

setText

Void setText(Str text)

Change the text to display for the link

uri

Str uri