Skip to content

IsRTL Option

Ryan Segura edited this page Feb 4, 2016 · 2 revisions

Type: Boolean<br />
Default: false<br />
Since: 2.5<br />
Sets the menu's run direction as right to left.

IMPORTANT: This option expects that the html or body tag's dir='rtl'.

Set the option upon init.

$('.selector').MonthPicker({ IsRTL: true });
Get or set the option, after init.
//getter
var IsRTL = $('.selector').MonthPicker('option', 'IsRTL');

//setter
$('.selector').MonthPicker('option', 'IsRTL', true );
Clone this wiki locally