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

    HsSelection manages the state and navigation of a selection within a collection.

    • Supports navigation to next/previous items.
    • Tracks selection state, action, and context.
    • Notifies observers on changes.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    __hs_isObservable: boolean = true
    _cacheKey: string = 'TODO'
    action: SelectionAction = SelectionAction.None

    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?: IIdentifiable

    The initial item to select.

    itemCompletionState: SelectionState = SelectionState.Pending

    The completion state for the selected item.

    origin?: IHosannaView<ViewState>

    The originating view for the selection.

    parentCollection?: IIdentifiable[]

    The parent collection of selectable items.

    result: unknown

    The result of the selection operation.

    state: SelectionState = SelectionState.Pending

    The current state of the selection.

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

    The target screen or view for the selection.

    version: number = 0

    Methods