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);
function getItemByName(
nameName of UI element state.: string
) : WebUiElementStateJS;
Parameters
- name
- Name of UI element state.
Return Value
WebUiElementStateJS object or null if collection does not contain state element with specified name.