Search ancestors of the given source DOM element for the specified CSS class name.
If the class name is found, set it to the root DOM element of the target control. If the class name is not found, it is also removed from the target DOM element.
Param | Type | Default Value | Description |
---|---|---|---|
sStyleClass | string | CSS class name | |
vSource | jQuery|sap.ui.core.Control|string | jQuery object, control or an id of the source element. | |
vDestination | jQuery|sap.ui.core.Control | target jQuery object or a control. |
Method | Description |
---|