Script

Script is an representation of Javascript scripts in html

Author

Ansh Sharma

Hierarchy

  • Script
=======
  • Defined in basic/scripts.ts:9
  • >>>>>>> origin/dev =======
  • Defined in basic/scripts.ts:9
  • >>>>>>> dev =======
  • Defined in components/scripts.ts:9
  • >>>>>>> dev =======
  • Defined in components/scripts.ts:9
  • >>>>>>> dev =======
  • Defined in components/scripts.ts:11
  • >>>>>>> dev:docs/classes/index.Script.html =======
  • Defined in components/scripts.ts:11
  • >>>>>>> dev

    Properties

    Constructors

    Methods

    Properties

    script: string = ...

    The actual string of script

    =======
  • Defined in basic/scripts.ts:13
  • >>>>>>> origin/dev =======
  • Defined in basic/scripts.ts:13
  • >>>>>>> dev =======
  • Defined in components/scripts.ts:13
  • >>>>>>> dev =======
  • Defined in components/scripts.ts:13
  • >>>>>>> dev =======
  • Defined in components/scripts.ts:15
  • >>>>>>> dev:docs/classes/index.Script.html =======
  • Defined in components/scripts.ts:15
  • >>>>>>> dev
    url: string = ""

    The URL of the Script. only used when external is selected as type of script

    =======
  • Defined in basic/scripts.ts:19
  • >>>>>>> origin/dev =======
  • Defined in basic/scripts.ts:19
  • >>>>>>> dev =======
  • Defined in components/scripts.ts:19
  • >>>>>>> dev =======
  • Defined in components/scripts.ts:19
  • >>>>>>> dev =======
  • Defined in components/scripts.ts:21
  • >>>>>>> dev:docs/classes/index.Script.html =======
  • Defined in components/scripts.ts:21
  • >>>>>>> dev
    type: string = ""

    The Type of the script

    =======
  • Defined in basic/scripts.ts:24
  • >>>>>>> origin/dev =======
  • Defined in basic/scripts.ts:24
  • >>>>>>> dev =======
  • Defined in components/scripts.ts:24
  • >>>>>>> dev =======
  • Defined in components/scripts.ts:24
  • >>>>>>> dev =======
  • Defined in components/scripts.ts:26
  • >>>>>>> dev:docs/classes/index.Script.html =======
  • Defined in components/scripts.ts:26
  • >>>>>>> dev
    params: {
        [key: string]: string;
    } = {}

    The Parameters of the script

    Type declaration

    • [key: string]: string
    =======
  • Defined in basic/scripts.ts:29
  • >>>>>>> origin/dev =======
  • Defined in basic/scripts.ts:29
  • >>>>>>> dev =======
  • Defined in components/scripts.ts:29
  • >>>>>>> dev =======
  • Defined in components/scripts.ts:29
  • >>>>>>> dev =======
  • Defined in components/scripts.ts:31
  • >>>>>>> dev:docs/classes/index.Script.html =======
  • Defined in components/scripts.ts:31
  • >>>>>>> dev

    Constructors

    • Create a new instance of Script

      Parameters

      • type: "external" | "infile"

        the type of the script either external or infile

      • url: string = ""

        the url of an external source script

      • script: string = ...

        the actual script when url is specified

      • params: {
            [key: string]: string;
        } = {}

        the parameters of the script

        • [key: string]: string

      Returns Script

    =======
  • Defined in basic/scripts.ts:38
  • >>>>>>> origin/dev =======
  • Defined in basic/scripts.ts:38
  • >>>>>>> dev =======
  • Defined in components/scripts.ts:38
  • =======
  • Defined in components/scripts.ts:38
  • >>>>>>> dev =======
  • Defined in components/scripts.ts:40
  • >>>>>>> dev:docs/classes/index.Script.html =======
  • Defined in components/scripts.ts:40
  • >>>>>>> dev

    Methods

    >>>>>>> dev =======
  • Defined in components/scripts.ts:54
  • >>>>>>> dev =======
  • Defined in components/scripts.ts:60
  • >>>>>>> dev:docs/classes/index.Script.html =======
  • Defined in components/scripts.ts:60
  • >>>>>>> dev