Interface BusEventViewChange

interface BusEventViewChange {
    cancelViewChange: boolean;
    newViewState: ViewState;
    oldViewState: ViewState;
    reason: ViewChangeReason;
    type: VIEW_CHANGE;
}

Hierarchy (View Summary, Expand)

Properties

cancelViewChange: boolean

This is used by the event handler to indicate that the view change should be cancelled and web chat's view should not be changed. Since the view has already changed when this event is fired, this property will cause the view to change back. Note that the view change events are not fired when the view changes back.

newViewState: ViewState

The new view state that web chat has switched to. This new state can be changed by the event handler.

oldViewState: ViewState

The previous view state from before the view:pre:change event.

The reason the view is changing.

The type of this event.

MMNEPVFCICPMFPCPTTAAATR