Interface: InteractionModeMap

Properties

dataset

dataset: InteractionModeFunction

Returns items in the same dataset. If the options.intersect parameter is true, we only return items if we intersect something If the options.intersect is false, we find the nearest item and return the items in that dataset

Defined in

index.esm.d.ts:710InteractionModeMap - 图1 (opens new window)


index

index: InteractionModeFunction

Returns items at the same index. If the options.intersect parameter is true, we only return items if we intersect something If the options.intersect mode is false, we find the nearest item and return the items at the same index as that item

Defined in

index.esm.d.ts:704InteractionModeMap - 图2 (opens new window)


nearest

nearest: InteractionModeFunction

nearest mode returns the element closest to the point

Defined in

index.esm.d.ts:719InteractionModeMap - 图3 (opens new window)


point

point: InteractionModeFunction

Point mode returns all elements that hit test based on the event position of the event

Defined in

index.esm.d.ts:715InteractionModeMap - 图4 (opens new window)


x

x: InteractionModeFunction

x mode returns the elements that hit-test at the current x coordinate

Defined in

index.esm.d.ts:723InteractionModeMap - 图5 (opens new window)


y

y: InteractionModeFunction

y mode returns the elements that hit-test at the current y coordinate

Defined in

index.esm.d.ts:727InteractionModeMap - 图6 (opens new window)