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

    Interface for focus information in the collection view.

    interface IFocusInfo {
        color: string;
        feedbackOffsets: [number, number, number, number];
        focusedScale?: number;
        hideFocusIndicator: boolean;
        imageUri: string;
        itemIndex: number;
        rowIndex: number;
        size: [number, number];
        targetTranslation: [number, number];
    }
    Index

    Properties

    color: string

    The color for the focus indicator.

    feedbackOffsets: [number, number, number, number]

    Feedback offsets for the focus indicator.

    focusedScale?: number

    if present, then cells will be scaled, when they receive focus

    hideFocusIndicator: boolean

    Whether to hide the focus indicator.

    imageUri: string

    The image URI for the focus indicator.

    itemIndex: number

    The item index for the focus.

    rowIndex: number

    The row index for the focus.

    size: [number, number]

    The size of the focus indicator.

    targetTranslation: [number, number]

    The target translation for the focus indicator.