Class: LiveDiffText
Defined in: modal/flash.ts:92
A live-updating text line with revision flashes. Owns its host's children; the host element (and its styling) belongs to the caller.
Constructors
Constructor
new LiveDiffText(
host,options?):LiveDiffText
Defined in: modal/flash.ts:98
Parameters
host
HTMLElement
options?
LiveDiffTextOptions = {}
Returns
LiveDiffText
Accessors
value
Get Signature
get value():
string
Defined in: modal/flash.ts:107
The current (clean) text.
Returns
string
Methods
clear()
clear():
void
Defined in: modal/flash.ts:136
Reset to empty (a new segment / the surface closed).
Returns
void
update()
update(
next):void
Defined in: modal/flash.ts:112
Feed the next cumulative text; revisions flash, extensions just render.
Parameters
next
string
Returns
void