@umbraco-cms/backoffice
    Preparing search index...

    Interface FocusOptions

    interface FocusOptions {
        className: string;
        mode: "all" | "deepest" | "shallowest";
    }
    Index

    Properties

    Properties

    className: string

    The class name that should be added to the focused node.

    'has-focus'
    
    'is-focused'
    
    mode: "all" | "deepest" | "shallowest"

    The mode by which the focused node is determined.

    • All: All nodes are marked as focused.
    • Deepest: Only the deepest node is marked as focused.
    • Shallowest: Only the shallowest node is marked as focused.
    'all'
    
    'deepest'
    
    'shallowest'