/** * Normally you don't need to set this option because the plugin detects the slider orientation * automatically. If the orientation is not correctly detected you can set this option to * 'horizontal' or 'vertical'. * * @param orientation * @return instance of the current component */ public Slider setOrientation(Orientation orientation) { this.options.putLiteral("orientation", orientation.toString().toLowerCase()); return this; }