type

Link

src @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

src virtual override Str htmlName()

id

src virtual override DocNodeId id()

isCode

src Bool isCode := false

isInline

src virtual override Bool isInline()

isTextUri

src Bool isTextUri()

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

line

src Int line

make

src new make(Str uri)

setText

src Void setText(Str text)

Change the text to display for the link

uri

src Str uri