Options
All
  • Public
  • Public/Protected
  • All
Menu

Module Browser/loadAsset

Index

Functions

Functions

loadAsset

  • loadAsset(url: string, options?: LoadJsOptions): Promise<string>
  • This helper may be used to load additional javascript or css files to the current page. It will return a promise which resolves to the loaded url.

    NOTE: Should be called after the document is ready!

    Parameters

    • url: string
    • Optional options: LoadJsOptions

    Returns Promise<string>

Generated using TypeDoc