Forums
This script can be used for toggle style for component. - Printable Version

+- Forums (https://bdn.bdb.ai)
+-- Forum: BDB Knowledge Base (https://bdn.bdb.ai/forumdisplay.php?fid=13)
+--- Forum: BDB Dashboards Designer (https://bdn.bdb.ai/forumdisplay.php?fid=43)
+---- Forum: BDB Designer Q & A (https://bdn.bdb.ai/forumdisplay.php?fid=16)
+---- Thread: This script can be used for toggle style for component. (/showthread.php?tid=586)



This script can be used for toggle style for component. - Asma M - 12-23-2022

"var a = sdk.getDivIdFromComponetId( 'label107' );
sdk.applyStyle( ""#"" + a + "" span"", ""background-color"", ""rgba(0,0,0,0.05)"" );"