Type Alias ScriptLoadOptions

ScriptLoadOptions: {
    attributes?: Record<string, string>;
    position?: "head" | "body";
}

Type declaration

  • Optionalattributes?: Record<string, string>

    Indicates the attributes of the script element

  • Optionalposition?: "head" | "body"

    Indicates the position of the script, default is "body"