In This Topic
Registers UI element with specified ID in factory.
Syntax
var instance = new Vintasoft.Imaging.UI.UIElements.WebUiElementsFactoryJS();
var value; // Type: any
// Parameters
var id; // Type: string
var createFunction; // Type: function
value = instance.registerElement(id, createFunction);
function registerElement(
: string,
: Function
) : any;
Parameters
- id
- Element ID.
- createFunction
- Function that create required WebUiElementJS object.
Exceptions
| Exception | Description |
| Thrown if arguments have wrong types. |
| Thrown if element ID is empty string. |
Browser Compatibility
See Also