Trevixal API
    Preparing search index...

    Interface FocusModeOptions

    interface FocusModeOptions {
        active?: boolean;
        onChange?: (active: boolean) => void;
    }
    Index
    active?: boolean

    Start with focus mode on (default false).

    onChange?: (active: boolean) => void

    Dim whole paragraphs ('block', the default) or only the sentence around the caret is out of scope here, blocks are what the model exposes.