Element.d.ts 491 B

12345678910111213
  1. import { OptionList } from '../../util/Options.js';
  2. import { Styles } from '../../util/Styles.js';
  3. import { LiteText } from './Text.js';
  4. export declare type LiteAttributeList = OptionList;
  5. export declare type LiteNode = LiteElement | LiteText;
  6. export declare class LiteElement {
  7. kind: string;
  8. attributes: LiteAttributeList;
  9. children: LiteNode[];
  10. parent: LiteElement;
  11. styles: Styles;
  12. constructor(kind: string, attributes?: LiteAttributeList, children?: LiteNode[]);
  13. }