본문으로 건너뛰기

WillChangeEvent

Event that fires BEFORE the active panel changes.

Description​

Index will be changed at the changed event. It can be triggered when user finished input, or flicking start to move by method. Calling stop() in event will prevent index change and camera movement.

Properties​

direction​

Type: ValueOf<typeof DIRECTION>

Moving direction from the active panel to the target panel

index​

Type: number

New active index

isTrusted​

Type: boolean

Boolean that indicates whether the event was generated by a user action

panel​

Type: Panel

New active panel

See Also​