script.d.ts 473 B

12345678910
  1. /**
  2. * @license
  3. * SPDX-License-Identifier: Apache-2.0
  4. */
  5. import { TrustedResourceUrl } from '../../internals/resource_url_impl';
  6. import { SafeScript } from '../../internals/script_impl';
  7. /** Sets textContent from the given SafeScript. */
  8. export declare function setTextContent(script: HTMLScriptElement, v: SafeScript): void;
  9. /** Sets the Src attribute using a TrustedResourceUrl */
  10. export declare function setSrc(script: HTMLScriptElement, v: TrustedResourceUrl): void;