frequently asked question
May 8, 2025

Is there a way to change the background style of the current sort-field?

To style the active state of your sort trigger, add a combo class (e.g. is-list-asc or is-list-desc) to the trigger element and apply your styles to that class. Once the trigger is no longer active, the combo class will be removed automatically.

By default, the active classes are is-list-asc and is-list-desc.
You can override these by using the attributes fs-list-ascclass="CLASS_NAME" and fs-list-descclass="CLASS_NAME".

Check more questions and answers

list
May 8, 2025

Is there a way to change the background style of the current sort-field?

To style the active state of your sort trigger, add a combo class (e.g. is-list-asc or is-list-desc) to the trigger element and apply your styles to that class. Once the trigger is no longer active, the combo class will be removed automatically.

By default, the active classes are is-list-asc and is-list-desc.
You can override these by using the attributes fs-list-ascclass="CLASS_NAME" and fs-list-descclass="CLASS_NAME".

false
false
Go to FAQ page