Interface: DecorationDto
Defined in: Extensions/ExtensionApiDtos.ts:156
Properties
data?
optionaldata?:unknown
Defined in: Extensions/ExtensionApiDtos.ts:168
Opaque data passed through to the click handler.
groupId?
optionalgroupId?:string
Defined in: Extensions/ExtensionApiDtos.ts:175
Optional ID for grouping related decorations. Pass the same groupId to
ui.updateVerseDecorations to replace the whole group atomically.
hoverContent?
optionalhoverContent?:HoverContentDto
Defined in: Extensions/ExtensionApiDtos.ts:161
Optional hover content shown when the user mouses over the decorated text.
onClickCommand?
optionalonClickCommand?:string
Defined in: Extensions/ExtensionApiDtos.ts:166
Command to execute when the user clicks the decoration. The command
receives { range, data } as args.
order?
optionalorder?:number
Defined in: Extensions/ExtensionApiDtos.ts:170
Render order. See "order hint" section of the spec.
range
range:
VerseRange|VerseRange[]
Defined in: Extensions/ExtensionApiDtos.ts:158
A single range or several ranges to apply the same style.
style
style:
DecorationStyle
Defined in: Extensions/ExtensionApiDtos.ts:159