The type of the produced UI commands
The type of the user interaction
The type of the interaction data of the user interaction
Allows the processing of errors during the execution of the binding. Errors reported here are errors thrown in arrow functions provided to the the different routines of the binder and errors triggered by the command. A binder can have several cummulative 'catch' routines.
The function to process the error caught by the binding during its execution
A clone of the current binder to chain the building configuration.
Configures a linter rule specifically for the binding.
A clone of the current binder to chain the building configuration.
Specifies what to do end when an interaction ends (when the last event of the interaction has occurred, but just after the interaction is reinitialised and the command finally executed and discarded / saved). A binder can have several cummulative 'end' routines.
The callback method to specify what to do when an interaction ends.
The binder to chain the building configuration.
Specifies the initialisation of the command when the interaction starts. Each time the interaction starts, an instance of the command is created and configured by the given callback. A binder can have several cummulative 'first' routines.
The callback method that initialises the command. This callback takes as arguments both the command and interaction data involved in the binding.
The binder to chain the building configuration.
Specifies what to do end when an interaction ends and the command could not be executed. A binder can have several cummulative 'ifCannotExecute' routines.
The callback method to specify what to do when an interaction ends and the command could not be executed.
The binder to chain the building configuration.
Specifies what to do end when an interaction ends (after the end/endOrCancel routines) and the command has produced an effect. A binder can have several cummulative 'ifHadEffects' routines.
The callback method to specify what to do when an interaction ends and the command produced an effect.
The binder to chain the building configuration.
Specifies what to do end when an interaction ends (after the end/endOrCancel routines) and the command did not produce an effect. A binder can have several cummulative 'ifHadNoEffect' routines.
The callback method to specify what to do when an interaction ends and the command did not produce an effect.
The binder to chain the building configuration.
Specifies the logging level to use. A binder can have several cummulative 'log' routines, eg: log(LogLevel.INTERACTION).log(LogLevel.COMMAND)
Rest
...level: readonly LogLevel[]The logging level to use.
A clone of the current binder to chain the building configuration.
Specifies the name of the Interacto binding. This name will be used in the logging system. It should be unique, but no mechanism will check that.
The name of the binding
A clone of the current binder to chain the building configuration.
Specifies the widgets on which the binding will operate. When a widget is added to this list, this widget is binded to this binding. When widget is removed from this list, this widget is unbinded from this binding.
A clone of the current binder to chain the building configuration.
Specifies the node the binding will observe its children. The binding observes its children list, so that additions and removals from it are managed by the binding.
The binding will observe the children of this node.
A clone of the current binder to chain the building configuration.
The default behavior associated to the event will be ignored.
A clone of the current binder to chain the building configuration.
If called, all the events the interaction will process will be consumed and not propagated to next listeners.
A clone of the current binder to chain the building configuration.
Specifies the conditions to fulfill to initialise, update, or execute the command while the interaction is running. A binder can have several cummulative 'when' routines.
The predicate that checks whether the command can be initialised, updated, or executed.
Optional
mode: WhenTypeThe execution mode of the 'when' predicate. If not defined, the non-strict mode will be used.
A clone of the current binder to chain the building configuration.
Generated using TypeDoc
The binder API that already knows the type of UI command and the user interaction to use.