processVisibility
[ Function ]
public static processVisibility(
element: JQuery | Element[] | NodeListOf<Element> | HTMLCollectionOf<Element> | Element | undefined,
valueNew: TcHmi.Visibility | null | undefined
): void;
Sets the visibility for one or more HTML elements.
Parameter
Name | Type | Description |
---|---|---|
element Info: Type Element supported from version 1.10 | JQuery, Element[], NodeListOf<Element>, HTMLCollectionOf<Element>, Element, undefined |
|
valueNew | Value for the visibility. |
Return value
Type | Description |
---|---|
void | No return value |
Available from 1.8 |
Sample - JavaScript
var newElem = $('<div class="testdiv"></div>');
TcHmi.StyleProvider.processVisibility(newElem,
'Collapsed'
);