Changing style of an element on an event

can I change the style of an element on an event like onClick?

6 Likes

Yes, you can do that.

Just add a task of ADD_CUSTOM_STYLE.

and in the configuration part

In Type …select the PAGE or COMPONENT or ELEMENT on which you want to add the CSS class.
Then enter the ID of component.
Then you can add CSS class to change the style. or you can add style manually in the options given there.

38 Likes

@Nikhil.Dhanda thanks for the solution

3 Likes

Yes, you can do that.
by the taskgroup.
Add a task of ADD_CUSTOM_STYLE. and in the configuration part.
Select the PAGE or COMPONENT or ELEMENT on which you want to add the CSS class. Then enter the ID of component. Then you can add CSS class to change the style.

5 Likes

Can we change the style for a Row or Column by using this task?

3 Likes

@tushar.jain Yes, you can add Css Class on row and column as well.

36 Likes

Thanks for the clarification.

1 Like