Abstract
The undo history algorithm
Readonly
Abstract
loggerReadonly
Abstract
undoThe undo/redo history of the current binding context
Abstract
acceptVisiting the binding.
The visitor.
Abstract
buttonCreates binding builder to build a binding between a button interaction and the given command type. Do not forget to call bind() at the end of the build to execute the builder.
Optional
accInit: AThe binding builder.
Abstract
checkboxOptional
accInit: AAbstract
clearAbstract
clickCreates a binding that uses the click interaction.
Optional
accInit: AAbstract
clicksCreates a binding for clicking n times.
The number of clicks to do. If this number is not reached, the interaction is cancelled after a timeout of 1s.
Optional
accInit: AAbstract
colorOptional
accInit: AAbstract
combineCreate a binding that uses an ordered sequence of user interactions
The sequence of user interaction
Optional
accInit: AAbstract
comboOptional
accInit: AAbstract
dateOptional
accInit: AAbstract
dbleCreates a binding that uses the double click interaction.
Optional
accInit: AAbstract
dndCreates a binding that uses the DnD interaction.
True: the escape key will cancels the DnD.
Optional
accInit: AAbstract
dragCreates a binding that uses the drag lock interaction.
Optional
accInit: AAbstract
fourCreates a binding that uses four (DnD) touches.
Optional
accInit: AAbstract
hyperlinkOptional
accInit: AAbstract
keyCreates a binding that uses the KeyDown (key pressed) interaction.
True: the interaction will consider key modifiers.
Optional
accInit: AAbstract
keyCreates a binding that uses the KeyTyped (key pressed then released) interaction.
Optional
accInit: AAbstract
keyCreates a binding that uses the KeyUp (key released) interaction.
True: the interaction will consider key modifiers.
Optional
accInit: AAbstract
keysCreates a binding that uses the KeysDown (multiple keys pressed) interaction.
Optional
accInit: AAbstract
keysCreates a binding that uses the KeysType (multiple keys pressed then released) interaction.
Optional
accInit: AAbstract
longCreates a binding that uses the LongMouseDown (mouse button pressed for a certain amount of time) interaction.
The duration of the pressure to end the user interaction. If this duration is not reached, the interaction is cancelled.
Optional
accInit: AAbstract
longCreates a binding that uses the long touch interaction.
The duration of the touch to end the user interaction. If this duration is not reached, the interaction is cancelled.
Optional
accInit: AAbstract
longpressCreates a binding that uses either a longpress or a longtouch interaction.
Optional
accInit: AAbstract
mouseCreates a binding that uses the MouseDown (mouse button pressed) interaction.
Optional
accInit: AAbstract
mouseCreates a binding that uses either a mouse down or a touch start interaction.
Optional
accInit: AAbstract
mouseCreates a binding that uses the MouseEnter (mouse cursor enters the element) interaction.
True: event bubbling is enabled and events on child elements will be registered
Optional
accInit: AAbstract
mouseCreates a binding that uses the MouseLeave (mouse cursor leaves the element) interaction.
True: event bubbling is enabled and events on child elements will be registered
Optional
accInit: AAbstract
mouseCreates a binding that uses the MouseMove (mouse cursor moves) interaction.
Optional
accInit: AAbstract
mouseCreates a binding that uses the MouseUp (mouse button released) interaction.
Optional
accInit: AAbstract
multiCreates a binding that uses the multi-touch user interaction.
The number of required touches. A multi-touch starts when all its touches have started. A multi-touch ends when the number of required touches is greater than the number of touches.
Optional
accInit: AAbstract
nodeOptional
accInit: AAbstract
panCreates a binding that uses the pan interaction (in all direction, one touch). The involved user interaction is TouchDnD.
Whether the DnD can be cancelled by interacting with a dwell-and-spring element.
Optional
accInit: AAbstract
panCreates a binding that uses a bottom pan interaction (or swipe if minVelocity is used) interaction (one-touch).
The tolerance rate in pixels accepted while executing the pan
Whether the DnD can be cancelled by interacting with a dwell-and-spring element.
Optional
minLength: numberThe minimal distance from the starting point to the release point for validating the pan
Optional
minVelocity: numberThe pan while be a swipe: the minimal minVelocity to reach for validating the swipe. In pixels per second.
Optional
accInit: AAbstract
panCreates a binding that uses a vertical pan interaction (or swipe if minVelocity is used) interaction (one-touch).
The tolerance rate in pixels accepted while executing the pan
Whether the DnD can be cancelled by interacting with a dwell-and-spring element.
Optional
minLength: numberThe minimal distance from the starting point to the release point for validating the pan
Optional
minVelocity: numberThe pan while be a swipe: the minimal minVelocity to reach for validating the swipe. In pixels per second.
Optional
accInit: AAbstract
panCreates a binding that uses a left pan interaction (or swipe if minVelocity is used) interaction (one-touch).
The tolerance rate in pixels accepted while executing the pan
Whether the DnD can be cancelled by interacting with a dwell-and-spring element.
Optional
minLength: numberThe minimal distance from the starting point to the release point for validating the pan
Optional
minVelocity: numberThe pan while be a swipe: the minimal minVelocity to reach for validating the swipe. In pixels per second.
Optional
accInit: AAbstract
panCreates a binding that uses a right pan interaction (or swipe if minVelocity is used) interaction (one-touch).
The tolerance rate in pixels accepted while executing the pan
Whether the DnD can be cancelled by interacting with a dwell-and-spring element.
Optional
minLength: numberThe minimal distance from the starting point to the release point for validating the pan
Optional
minVelocity: numberThe pan while be a swipe: the minimal minVelocity to reach for validating the swipe. In pixels per second.
Optional
accInit: AAbstract
panCreates a binding that uses a top pan interaction (or swipe if minVelocity is used) interaction (one-touch).
The tolerance rate in pixels accepted while executing the pan
Whether the DnD can be cancelled by interacting with a dwell-and-spring element.
Optional
minLength: numberThe minimal distance from the starting point to the release point for validating the pan
Optional
minVelocity: numberThe pan while be a swipe: the minimal minVelocity to reach for validating the swipe. In pixels per second.
Optional
accInit: AAbstract
panCreates a binding that uses a vertical pan (or swipe if minVelocity is used) interaction (one-touch).
The tolerance rate in pixels accepted while executing the pan
Whether the DnD can be cancelled by interacting with a dwell-and-spring element.
Optional
minLength: numberThe minimal distance from the starting point to the release point for validating the pan
Optional
minVelocity: numberThe pan while be a swipe: the minimal minVelocity to reach for validating the swipe. In pixels per second.
Optional
accInit: AAbstract
reciprocalCreates a binding that uses the Reciprocal DnD interaction. A spring handle can be pressed on a long click to return the element back to its previous position.
Abstract
reciprocalCreates a binding that uses either a longpress or a longtouch interaction.
Abstract
reciprocalCreates a binding that uses the Reciprocal DnD interaction with a touch. A spring handle can be pressed on a long click to return the element back to its previous position.
Abstract
rotateCreates a binding that uses the rotate interaction (two-touch interaction, with the first point that must remain static).
The tolerance rate in pixels accepted while executing the rotation (i.e. the acceptance rate when moving the fixation/first point).
Optional
accInit: AAbstract
scaleCreates a binding that uses the scale/pinch touch interaction.
The tolerance rate in pixels accepted while executing the scale/pinch gesture
Optional
accInit: AAbstract
scrollCreates a binding that uses the mouse scroll interaction.
Optional
accInit: AAbstract
setSets the current BindingsObserver
object. Cleans the potential former global BindingsObserver
object.
Optional
obs: BindingsObserverThe new BindingsObserver
object to consider. Can be undefined.
Abstract
spinnerOptional
accInit: AAbstract
tapCreates a binding that uses the tap user interaction.
The number of required taps. If this number is not reached after a timeout, the interaction is cancelled.
Optional
accInit: AAbstract
tapsCreates a binding that uses either a tap or a clicks interaction.
Optional
accInit: AAbstract
textCreates a binding that uses a text interaction. This binder takes as argument a timeout value: using this text writing interaction, a user can write a sequence of letters and then stops for more than x milliseconds (x is the value of timeout). After this delay the binding executes the command. This is a mainstream optimisation that many text processing tools implement to limit the number of editing actions.
Optional
timeout: numberThe timeout in milliseconds after which the interaction stops and the command produced.
Optional
accInit: AAbstract
threeCreates a binding that uses three (DnD) touches.
Optional
accInit: AAbstract
touchCreates a binding that uses the touch DnD interaction (a DnD interaction that uses one touch). This interaction works as a Drag-and-Drop interaction.
Optional
accInit: AAbstract
touchCreates a binding that uses the MouseDown (mouse button pressed) interaction.
Optional
accInit: AAbstract
twoCreates a binding that uses a bottom pan interaction (two-touch).
The tolerance rate in pixels accepted while executing the pan
Optional
minLength: numberThe minimal distance from the starting point to the release point for validating the pan
Optional
minVelocity: numberThe pan while be a swipe: the minimal minVelocity to reach for validating the swipe. In pixels per second.
Optional
accInit: AAbstract
twoCreates a binding that uses a vertical pan interaction (two-touch).
The tolerance rate in pixels accepted while executing the pan
Optional
minLength: numberThe minimal distance from the starting point to the release point for validating the pan
Optional
minVelocity: numberThe pan while be a swipe: the minimal minVelocity to reach for validating the swipe. In pixels per second.
Optional
accInit: AAbstract
twoCreates a binding that uses a left pan interaction (two-touch).
The tolerance rate in pixels accepted while executing the pan
Optional
minLength: numberThe minimal distance from the starting point to the release point for validating the pan
Optional
minVelocity: numberThe pan while be a swipe: the minimal minVelocity to reach for validating the swipe. In pixels per second.
Optional
accInit: AAbstract
twoCreates a binding that uses a right pan interaction (two-touch).
The tolerance rate in pixels accepted while executing the pan
Optional
minLength: numberThe minimal distance from the starting point to the release point for validating the pan
Optional
minVelocity: numberThe pan while be a swipe: the minimal minVelocity to reach for validating the swipe. In pixels per second.
Optional
accInit: AAbstract
twoCreates a binding that uses a top pan interaction (two-touch).
The tolerance rate in pixels accepted while executing the pan
Optional
minLength: numberThe minimal distance from the starting point to the release point for validating the pan
Optional
minVelocity: numberThe pan while be a swipe: the minimal minVelocity to reach for validating the swipe. In pixels per second.
Optional
accInit: AAbstract
twoCreates a binding that uses a vertical pan interaction (two-touch).
The tolerance rate in pixels accepted while executing the pan
Optional
minLength: numberThe minimal distance from the starting point to the release point for validating the pan
Optional
minVelocity: numberThe pan while be a swipe: the minimal minVelocity to reach for validating the swipe. In pixels per second.
Optional
accInit: AAbstract
twoCreates a binding that uses two (DnD) touches.
Optional
accInit: AAbstract
undoCreates two bindings for undo and redo operations with buttons.
Abstract
wheelCreates a binding that uses the Wheel (user uses a mouse scrolling wheel) interaction.
Optional
accInit: AGenerated using TypeDoc
A contextual object for creating binders and thus bindings. allows the observation of the created bindings. Provides an undo/redo history. Why a pure abstract class and not an interface? Because interfaces are not retained at runtime in TS and we want DI (that thus cannot inject interface types).