supervision-js
    Preparing search index...

    Interface BaseFocusStyleOptions

    interface BaseFocusStyleOptions {
        cornerRadius?: FocusStyleValue<number | undefined>;
        fill?: FocusStyleValue<Partial<FocusFillStyle> | null>;
        shape?: FocusStyleValue<BoxShape>;
        shouldRender?: (context: FocusStyleContext) => boolean;
        targetMode?: FocusTargetMode;
    }
    Index
    cornerRadius?: FocusStyleValue<number | undefined>

    Rounded-rectangle fallback corner radius in media pixels.

    fill?: FocusStyleValue<Partial<FocusFillStyle> | null>

    Full-frame dim overlay. Pass null or return false from shouldRender to disable focus rendering.

    Geometry used when the focused target cannot use a prepared mask artifact.

    shouldRender?: (context: FocusStyleContext) => boolean
    targetMode?: FocusTargetMode

    Which interaction state should keep the media undimmed.