Forums
HTML tags to style components - 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: HTML tags to style components (/showthread.php?tid=449)



HTML tags to style components - Sruthi P - 12-23-2022

Can we use html tags to style components?

Yes. We can use  html tags to style the component.

Script for padding in title or description thru html tags.

Component Title : <span style = "color:#5adf14;font-size:15px;"> 
Potential Excess Opportunity </span>
 
Write this in respective connection script

var a = sdk.getWidget( 'timeline4' );
a.m_enablehtmlformate.subtitle = true;
a.m_enablehtmlformate.title = true;
a.draw();