Provides the default renderer for the controls that have set their visible
property to false
.
Node | Description |
---|
Method | Description |
---|---|
module:sap/ui/core/InvisibleRenderer.createInvisiblePlaceholderId |
Creates the ID to be used for the invisible placeholder DOM element. |
module:sap/ui/core/InvisibleRenderer.getDomRef |
Returns the placeholder DOM element of the provided control. |
module:sap/ui/core/InvisibleRenderer.render |
Renders an invisible placeholder to identify the location of the invisible control within the DOM tree. The standard implementation renders an invisible <span> element for controls with |
Creates the ID to be used for the invisible placeholder DOM element.
Param | Type | DefaultValue | Description |
---|---|---|---|
oControl | sap.ui.core.Control |
The |
Returns the placeholder DOM element of the provided control.
Param | Type | DefaultValue | Description |
---|---|---|---|
oControl | sap.ui.core.Control |
The |
Renders an invisible placeholder to identify the location of the invisible control within the DOM tree.
The standard implementation renders an invisible <span> element for controls with visible:false
to improve re-rendering performance. Due to the fault tolerance of the HTML5 standard, such <span> elements are accepted in many scenarios and won't appear in the render tree of the browser. However, in some cases, controls might need to write a different element if <span> is not an allowed element (for example, within the <tr> or <li> group). In this case, the caller can require this module and use the third parameter to define the HTML tag.
Param | Type | DefaultValue | Description |
---|---|---|---|
oRm | sap.ui.core.RenderManager |
The |
|
oElement | sap.ui.core.Element |
The instance of the invisible element |
|
sTagName | string | "span" |
HTML tag of the invisible placeholder; void tags are not allowed. |