hosanna-ui-docs - v0.9.0
    Preparing search index...

    Type Alias ISelectionOptions

    Options for initializing an HsSelection instance.

    type ISelectionOptions = {
        action?: SelectionAction;
        actionInfo?: JsonData;
        context?: JsonData;
        currentItem?: IIdentifiable;
        initialItem?: JsonIdentifiable;
        origin?: IHosannaView<ViewState>;
        parentCollection?: IIdentifiable[];
        targetScreen?: IHosannaView<ViewState> | ViewStruct<ViewState>;
    }
    Index

    Properties

    The action to perform on selection.

    actionInfo?: JsonData

    Additional information about the action.

    context?: JsonData

    Additional context for the selection.

    currentItem?: IIdentifiable

    The currently selected item.

    initialItem?: JsonIdentifiable

    The initial item to select.

    origin?: IHosannaView<ViewState>

    The originating view for the selection.

    parentCollection?: IIdentifiable[]

    The parent collection of selectable items.

    targetScreen?: IHosannaView<ViewState> | ViewStruct<ViewState>

    The target screen or view for the selection.