12-23-2022, 06:27 AM
Script for Background Highlight Style.
· This is to be written on component Script.
· This script changes the color on click of the respective component.
var division = sdk.getDivIdFromComponetId( 'label2' );
sdk.applyStyles( "#" + division + " span", {"color": "#fff", "background": "#6979af"} );
· This is to be written on component Script.
· This script changes the color on click of the respective component.
var division = sdk.getDivIdFromComponetId( 'label2' );
sdk.applyStyles( "#" + division + " span", {"color": "#fff", "background": "#6979af"} );