lazy-widgets
Version:
Typescript retained mode GUI for the HTML canvas API
10 lines (9 loc) • 404 B
TypeScript
import type { BaseXMLUIParser } from './BaseXMLUIParser.js';
import type { XMLUIParserContext } from './XMLUIParserContext.js';
/**
* A function that deserializes an attribute's value. The correct deserializer
* is picked from the prefix of the value.
*
* @category XML
*/
export type XMLAttributeValueDeserializer = (parser: BaseXMLUIParser, context: XMLUIParserContext, value: string) => unknown;