lazy-widgets
Version:
Typescript retained mode GUI for the HTML canvas API
11 lines (10 loc) • 500 B
TypeScript
import type { BaseXMLUIParser } from './BaseXMLUIParser.js';
import type { XMLUIParserContext } from './XMLUIParserContext.js';
/**
* A function that modifies a given widget factory parameter list. Can be used
* to add extra parameters (such as an options object) or transform existing
* parameters.
*
* @category XML
*/
export type XMLArgumentModifier = (parser: BaseXMLUIParser, context: XMLUIParserContext, instantiationContext: Record<string, unknown>, parameters: Array<unknown>) => void;