Trace: • Slider button
This is an old revision of the document!
A standard button performs an action on click/press. Sometimes it's nice to use a standard button as “confirmation button”. In this case it's better to use a slider button. Our standard implementation offers such styling variant:
Simply use
Style.addStyleNames(button, "f_slide");
and your button will look and act like a slider: