ViewChannelViewAutoDismissConfig<R>

TYPE DEFINITION

Represents the configuration for AutoDismiss. AutoDismiss means that the ViewChannelView will remove itself after a duration.

Since 1.0.0

Properties

  • duration

    number

    The amount of milliseconds the view should remain visible to the user. Once the duration has passed the view is removed from the ViewChannel automatically.

    Since 1.0.0

  • result

    R

    The value (R) to resolve the promise of the ViewChannelView with. This allows you to distinguish between user events, such as clicking a cancel / save button or an auto dismissal.

    Since 1.0.0