dynamic-css.d.ts 575 B

1234567891011121314
  1. /**
  2. * Use of this source code is governed by an MIT-style license that can be
  3. * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
  4. */
  5. interface Options {
  6. attachTo?: Element;
  7. cspNonce?: string | null;
  8. prepend?: boolean;
  9. mark?: string;
  10. }
  11. export declare function injectCSS(css: string, options?: Options): HTMLStyleElement | null;
  12. export declare function removeCSS(key: string, option?: Options): void;
  13. export declare function updateCSS(css: string, key: string, options?: Options): HTMLStyleElement | null;
  14. export {};