ViewChannelViewDismissedEvent<T, R>

TYPE DEFINITION

Represents a dismissal of an ViewChannelView of the ViewChannel.

Note: when this event is fired the "AUTO_DISMISS_STOPPED" event will not be fired even when autoDismiss is playing. The reason for this is because on "DISMISSED" the entire view should be cleared.

Since 1.0.0

Extends ViewChannelBaseEvent

Properties

  • index

    number

    The index of removed item.

    Note: this was the index at the time of the dismissal, it might no longer be accurate.

    Since 1.0.0

  • reason

    ViewChannelViewDismissedEventReason

    The reason for dismissal, this can either be because the duration of the view passed, in which case it is DURATION_PASSED, or because the user closed the View, then the reason will be USER_INTERACTION.

    Since 1.0.0

  • type

    "DISMISSED"

    Which type occurred

    Since 1.0.0

  • view

    ViewChannelView<T,R>

    The view which was removed.

    Since 1.0.0