@scadavis/web-component
    Preparing search index...

    Function scadavisInit

    • Initialization of the web component via promise.

      Parameters

      • Optionalcontainer: string | HTMLElement | ScadaVisInitParams

        ID of the container element, or a config object

      • OptionalstyleParams: string

        Style string for the web component (width, height)

      • Optionalsvgurl: string

        URL for the SVG file

      Returns Promise<ScadaVis>

      Promise that resolves to the ScadaVis element when ready