CSSKeywordValue.d.ts 715 B

12345678910111213141516
  1. import { CSSStyleValue, CSSStyleValueType } from './CSSStyleValue';
  2. import type { Nested, ParenLess } from './types';
  3. /**
  4. * CSSKeywordValue represents CSS Values that are specified as keywords
  5. * eg. 'initial'
  6. * @see https://developer.mozilla.org/en-US/docs/Web/API/CSSKeywordValue
  7. * @see https://chromium.googlesource.com/chromium/src/+/refs/heads/main/third_party/blink/renderer/core/css/cssom/css_keyword_value.idl
  8. */
  9. export declare class CSSKeywordValue extends CSSStyleValue {
  10. value: string;
  11. constructor(value: string);
  12. clone(): CSSKeywordValue;
  13. getType(): CSSStyleValueType;
  14. buildCSSText(n: Nested, p: ParenLess, result: string): string;
  15. }
  16. //# sourceMappingURL=CSSKeywordValue.d.ts.map