UNPKG

nxkit

Version:

This is a collection of tools, independent of any other libraries

21 lines (20 loc) 578 B
import * as doc from './document'; import { Element } from './element'; export declare class Parser { /** * constructor function * @param {String} source * @return {Document} * @constructor */ parser(source: string): doc.Document; /** * constructor function * @param {Document} doc * @param {Element} el * @param {String} source * @return {Document} * @constructor */ fragment(doc: doc.Document, source: string, el?: Element): doc.Document; }