inspector/stamps/commands#

Functions#

dispatchMatchStamp()#

dispatchMatchStamp(live, block, command): Problem | null

Defined in: editor/src/inspector/stamps/commands.ts:45

Close the editors a MatchStamp command of block block cannot run in, then dispatch command.

Parameters#

live#

LiveStore

block#

string

command#

Command

Returns#

Problem | null


displayCommand()#

displayCommand<Word>(target, order, shown, word): Command

Defined in: editor/src/inspector/stamps/commands.ts:32

The set of the display of the element at target, shown now, with word toggled (toggledDisplay): the one display toggle of a named timestamp, an alignment anchor and a stored elision.

Type Parameters#

Word#

Word extends string

Parameters#

target#

Address

order#

readonly Word[]

shown#

readonly Word[]

word#

Word

Returns#

Command


toggledDisplay()#

toggledDisplay<Word>(order, shown, word): Word[]

Defined in: editor/src/inspector/stamps/commands.ts:17

The words shown with word toggled: taken out where shown, else put in its place in order, the words’ canonical order.

Type Parameters#

Word#

Word extends string

Parameters#

order#

readonly Word[]

shown#

readonly Word[]

word#

Word

Returns#

Word[]