ai11y docs
    Preparing search index...

    Interface HighlightOptions

    Options for highlighting a marker

    interface HighlightOptions {
        duration?: number;
        onHighlight?: (markerId: string, element: Element) => void;
    }
    Index

    Properties

    duration?: number

    Duration in milliseconds for the highlight (default: 2000) Set to 0 to skip visual highlighting (useful when using custom highlight wrapper)

    onHighlight?: (markerId: string, element: Element) => void

    Callback function called when marker is highlighted