In This Topic
Returns UI element state with specified name.
Syntax
var instance = new Vintasoft.Imaging.UI.UIElements.WebUiElementStateCollectionJS(states);
var value; // Type: Vintasoft.Imaging.UI.UIElements.WebUiElementStateJS
// Parameters
var name; // Type: string
value = instance.getItemByName(name);
Parameters
- name
- Name of UI element state.
Return Value
WebUiElementStateJS object or null if collection does not contain state element with specified name.
Exceptions
Exception | Description |
| Thrown if argument has wrong type. |
| Thrown if name is empty string. |
Browser Compatibility
See Also