Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

loadCSS

  • loadCSS(css: string): void
  • Create new style element that contains given CSS string

    Parameters

    • css: string

    Returns void

loadScript

  • loadScript(src: string, id?: string): Promise<any>
  • Wait for a javascript file to be loaded

    Parameters

    • src: string
    • id: string = ''

      Deduplicate multiple scripts by id

    Returns Promise<any>

loadStyle

  • loadStyle(href: string): void
  • Create new stylesheet link element

    Parameters

    • href: string

    Returns void

Generated using TypeDoc