Hosanna UI API v1.30.2-next
    Preparing search index...

    Interface CollectionViewEvent

    CollectionViewEvent extends ViewEvent for collection view-specific events.

    interface CollectionViewEvent {
        dataSource?: CollectionViewDataSource.CollectionViewDataSource;
        direction?: CollectionViewDirection;
        itemIndex?: number;
        percent?: number;
        preventDefault?: boolean;
        row?: ICollectionViewDataSourceRow<any, ICollectionViewDataSourceItem>;
        rowIndex: number;
        type: CollectionEventType;
        view: CollectionViewView;
    }

    Hierarchy

    Index

    Properties

    The datasource associated with the event (for rowLoadFailed events).

    The direction of the event, if applicable.

    itemIndex?: number

    The item index involved in the event, if any.

    percent?: number

    The percent completion for the event, if applicable.

    preventDefault?: boolean

    The row associated with the event (for rowLoadFailed events).

    rowIndex: number

    The row index involved in the event.

    The type of collection event.