StoryMapJS API
    Preparing search index...

    Function loadCSS

    Append a stylesheet <link> to the document head.

    The stylesheet URL.

    Optional AbortSignal to cancel an in-flight load.

    Resolves once the stylesheet has loaded, rejects on error or abort.

    • Append one stylesheet to the document head.

      Concurrent and repeat requests for the same URL share one <link>.

      Parameters

      • url: string

        The stylesheet URL.

      • Optionaloptions: LoadOptions

        Optional AbortSignal to cancel an in-flight load.

      Returns Promise<void>

      Resolves when the stylesheet has loaded, rejects on error or abort.