File

src/elements/link.ts

Extends

BaseElement

Index

Properties
Methods

Properties

Readonly documentName
Type : string | null
Readonly documentType
Type : string | null
Readonly downloadId
Type : string | null
Readonly optionalParameters
Type : string | null
Readonly pageName
Type : string | null
Readonly text
Type : string
Readonly textItem
Type : TextItem | null
Readonly Optional contentStyle
Type : string
Readonly functionalKey
Type : ElementKey
Readonly key
Type : ElementKey
Readonly name
Type : string
Readonly Optional parent
Type : ElementWithChildren
Readonly properties
Type : literal type
Readonly styles
Type : PresentationStyles
Readonly type
Type : ElementType

Methods

resolve
resolve(this: Mutable<>, pageModel: PageModel, data: LinkJson)
Parameters :
Name Type Optional
this Mutable<> No
pageModel PageModel No
data LinkJson No
Returns : void
onUpdate
onUpdate(cb: UpdateFn)
Parameters :
Name Type Optional
cb UpdateFn No
Returns : void
patch
patch(data: T)
Parameters :
Name Type Optional
data T No
Returns : void
update
update(cb: (el: Mutable<>) => void, notification?: UpdateNotification)
Parameters :
Name Type Optional
cb function No
notification UpdateNotification Yes
Returns : void

results matching ""

    No results matching ""