Web Components API Reference - v0.2.5
    Preparing search index...

    Class ScriptElement

    The ScriptElement interface provides properties and methods for manipulating <pc-script> elements. The ScriptElement interface also inherits the properties and methods of the HTMLElement interface.

    Hierarchy

    Index

    Accessors

    • get enabled(): boolean

      Gets the enabled state of the script.

      Returns boolean

      The enabled state of the script.

    • set enabled(value: boolean): void

      Sets the enabled state of the script.

      Parameters

      • value: boolean

        The enabled state of the script.

      Returns void

    • get scriptAttributes(): string

      Gets the attributes of the script.

      Returns string

      The attributes of the script.

    • set scriptAttributes(value: string): void

      Sets the attributes of the script.

      Parameters

      • value: string

        The attributes of the script.

      Returns void