I have a fader non-reactive to prevent mishandling with css :
.fader {
pointer-events:none;
}
But sometimes i need to change its value,
Is there a possibility to make it active by pressing a toggle button and make it inactive by pressing again this button ?
.fader {
JS{{
// @{toggle_id} returns the value of the widget with id "toggle_id"
// and updates automatically
if (@{toggle_id} == 0) return "pointer-events:none;"
}}
}