UNPKG

@icebreakers/wxml

Version:

wxml parser and serializer. fork form wxml and improve. thanks to vivaxy and roadupcc

14 lines (13 loc) 383 B
import BaseNode from './base'; import TextNode from './text'; import CommentNode from './comment'; export default class ElementNode extends BaseNode { tagName: string; attributes: { [attrName: string]: string | true; }; childNodes: Array<ElementNode | TextNode | CommentNode>; selfClosing: boolean; constructor(); toJSON(): Object; }