sesaparcours
    Preparing search index...

    Helper class to dynamically load kernels.

    Index

    Constructors

    • Parameters

      • options: any
      • OptionalloaderId: string

      Returns KernelLoader

    Accessors

    • get kernel(): KernelBase | undefined

      Kernel getter.

      Returns KernelBase | undefined

    • get kernelSafe(): KernelBase | null

      Returns KernelBase | null

    Methods

    • Get browser info (name and version).

      Returns { name: string; version: string }

    • Hide the Basthon’s loader.

      Returns void

    • Is the kernel object available (not null)? Be carefukl, it does not resolves when the kernel is loaded but when it is set. See kernelLoaded.

      Returns Promise<KernelBase>

    • Returns a promise that resolves when page is loaded (document.body available).

      Returns Promise<void>

    • Setting the error text.

      Parameters

      • text: string

      Returns void

    • Setting the text loader.

      Parameters

      • text: string

      Returns void

    • Show a fullscreen loader that disapear when Basthon is loaded. If you want to manually hide the loader, set hideAfter to false.

      Parameters

      • text: string
      • Optionalfullscreen: boolean
      • OptionalhideAfter: boolean

      Returns Promise<void>