creator
Given the specified element name, returns a function which creates an element of the given name, assuming that "this" is the parent element.
function creator<K extends keyof ElementTagNameMap>(name: K): (this: BaseType) => ElementTagNameMap[K];
§
Given the specified element name, returns a function which creates an element of the given name, assuming that "this" is the parent element.