@antv/t8
Version:
T8 is a text visualization solution for unstructured data within the AntV technology stack, and it is a declarative JSON Schema syntax that can be used to describe the content of data interpretation reports.
10 lines • 684 B
TypeScript
/**
* add element to original element, this function is used to add element to Phrase element,
* @param element - element to add, type: HTMLElement, string or number.
* @param value - original string from spec, type: string, make sure it only contains text node.
* @param position - position to add element, type: 'suffix' | 'prefix', default: 'suffix'.
* @returns - new container element, type: HTMLSpanElement.
* use function `addElement` to add element to original element.
*/
export declare const createInlineDocument: (element: string | number | Element, value: string, position?: "suffix" | "prefix") => HTMLSpanElement;
//# sourceMappingURL=createInlineDocument.d.ts.map