Prism API
    Preparing search index...

    Interface HighlightElementOptions

    interface HighlightElementOptions {
        async?: AsyncHighlighter;
        callback?: (element: Element) => void;
    }
    Index

    Properties

    Properties

    callback?: (element: Element) => void

    An optional callback to be invoked after the highlighting is done. Mostly useful when async is true, since in that case, the highlighting is done asynchronously.

    Type declaration

      • (element: Element): void
      • Parameters

        • element: Element

          The element successfully highlighted.

        Returns void