File

src/elements/textitem/element.ts

Extends

BaseElement

Index

Properties
Methods

Properties

Readonly plainText
Type : string
Readonly rootNode
Type : TextItemNode
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

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 ""