API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
classButtonLikeAction
Shared mechanism behind every action that reduces a set of bound channels to a single on/off `active`/`pressed`/`released` (plus `value`) triad - ButtonAction (strongest of a set of alternative sources) and ChordAction (weakest of a set of required members). A subclass supplies only _aggregate and its own ActionBase._resolve; this base owns the batch-replay update loop, initial-baseline seeding, and reset.
import { ButtonLikeAction } from '@codexo/exojs'Shared mechanism behind every action that reduces a set of bound channels to a single on/off `active`/`pressed`/`released` (plus `value`) triad - ButtonAction (strongest of a set of alternative sources) and ChordAction (weakest of a set of required members). A subclass supplies only _aggregate and its own ActionBase._resolve; this base owns the batch-replay update loop, initial-baseline seeding, and reset.
new(binding: Binding, threshold: number): ButtonLikeAction<Binding>_allocateValues(): voidactive: booleanbinding: Bindingchannels: readonly number[]defaultBinding: Bindingpressed: booleanreleased: booleanvalue: number