isVisible()
checks whether a RadioGroup control or a specific element inside the control is visible
isVisible(id?: string): boolean;
Parameters:
id: string
- optional, the id of a specific element inside the RadioGroup control
Returns:
true
, if a control or a specific element is visible; otherwise, false
.
Example
form.getItem("radiogroup").isVisible("id_1");
// -> true/false
Change log: The id parameter was added in v8.0