An action signal and emitting it causes the switch to animate.
The parent class.
Class handler for the ::state-set signal.