iframe.d.ts 545 B

12345678910111213
  1. /**
  2. * @license
  3. * SPDX-License-Identifier: Apache-2.0
  4. */
  5. /**
  6. * @fileoverview Safe iframe helpers and go/intents-for-iframes-for-closure
  7. */
  8. import { SafeHtml } from '../../internals/html_impl';
  9. import { TrustedResourceUrl } from '../../internals/resource_url_impl';
  10. /** Sets the Src attribute using a TrustedResourceUrl */
  11. export declare function setSrc(iframe: HTMLIFrameElement, v: TrustedResourceUrl): void;
  12. /** Sets the Srcdoc attribute using a SafeHtml */
  13. export declare function setSrcdoc(iframe: HTMLIFrameElement, v: SafeHtml): void;