Adding Widget Subtitle / Description
Updated 11-01-2023
Amazing. Thanks TriAnthony
I have added the following:
let desc= dash_se.widget.desc
to automatically get the widget description and changed the strNew to
for (i = 1; i < strArray.length; i++) {
strNew = strNew + '<p style=\"font-size:10px;word-break:normal;white-space:normal;padding: 11px 0 0 0;line-height: 11px;\">' + desc + '</p>'
}
it now auto-adds the widget-description (we have all of our widgets described)
Hamza