Change header's custom style
The following example shows how to dynamically change a widget's header style upon clicking a button by using the HTML Canvas widget.
Last updated
The following example shows how to dynamically change a widget's header style upon clicking a button by using the HTML Canvas widget.
Last updated
Create a button element using HTML. Paste the following code on the HTML code editor tab:
Add the logic to change the header's style upon clicking the button:
Save the widget's settings by clicking on the green check mark. The result is shown below: