Вы не можете выбрать более 25 тем
Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
|
- import INode from '../nodes/node/INode';
- /**
- * Utility for converting an element to string.
- */
- export default class XMLSerializer {
- /**
- * Renders an element as HTML.
- *
- * @param root Root element.
- * @param [options] Options.
- * @param [options.includeShadowRoots] Set to "true" to include shadow roots.
- * @returns Result.
- */
- serializeToString(root: INode, options?: {
- includeShadowRoots?: boolean;
- }): string;
- /**
- * Returns attributes as a string.
- *
- * @param element Element.
- * @returns Attributes.
- */
- private _getAttributes;
- }
|