createScriptURL method

TrustedScriptURL createScriptURL(
  1. String input,
  2. JSAny? arguments
)

The createScriptURL() method of the TrustedTypePolicy interface creates a TrustedScriptURL object using a policy created by TrustedTypePolicyFactory.createPolicy.

Implementation

external TrustedScriptURL createScriptURL(
  String input,
  JSAny? arguments,
);