transient#
Type Aliases#
ShowTransient#
ShowTransient = (
shown) =>void
Defined in: editor/src/transient.ts:13
Show shown on the canvas until the next call; null withdraws it.
Parameters#
shown#
TransientCommand | null
Returns#
void
Functions#
provideTransient()#
provideTransient(
show):void
Defined in: editor/src/transient.ts:21
Give the components below the calling one show; called while the component is made.
Parameters#
show#
Returns#
void
transientContext()#
transientContext(
show):Map<symbol,ShowTransient>
Defined in: editor/src/transient.ts:34
The component context that provides show, for a component mounted on its own (mount’s context).
Parameters#
show#
Returns#
Map<symbol, ShowTransient>
transientOf()#
transientOf():
ShowTransient
Defined in: editor/src/transient.ts:29
The showTransient a component above the calling one provides, else one
showing nothing; called while the component is made.