Skip to main content

Class: MouseTriggerInteraction

Defined in: input/interactions/mouse-trigger-interaction.ts:9

InputInteraction represents an interaction with an input source.

Extends

Constructors

Constructor

new MouseTriggerInteraction(args, source): MouseTriggerInteraction

Defined in: input/interactions/input-interaction.ts:12

Parameters

args

MouseTriggerInteractionArgs

source

ActionableInputSource

Returns

MouseTriggerInteraction

Inherited from

InputInteraction.constructor

Properties

args

readonly args: MouseTriggerInteractionArgs

Defined in: input/interactions/input-interaction.ts:9

Inherited from

InputInteraction.args


id

id: string

Defined in: input/interactions/input-interaction.ts:8

Inherited from

InputInteraction.id


source

readonly source: ActionableInputSource

Defined in: input/interactions/input-interaction.ts:10

Inherited from

InputInteraction.source

Accessors

displayText

Get Signature

get displayText(): string

Defined in: input/interactions/mouse-trigger-interaction.ts:17

Returns

string

Overrides

InputInteraction.displayText

Methods

matchesArgs()

matchesArgs(args): boolean

Defined in: input/interactions/mouse-trigger-interaction.ts:10

Parameters

args

MouseTriggerInteractionArgs

Returns

boolean

Overrides

InputInteraction.matchesArgs