Skip to content

IsRTL Option

Benjamin Albert edited this page Feb 4, 2016 · 2 revisions

Type: Boolean
Default: false
Since: 2.5

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 });</pre>

Get or set the option, after init.

//getter
var IsRTL = $('.selector').MonthPicker('option', 'IsRTL');

//setter
$('.selector').MonthPicker('option', 'IsRTL', true );