IsRTL: Boolean
The IsRTL property sets the location of the component elements on the right edge.
By default the property is set to False that is the elements of the visual components are located on the right edge.
To execute the example, add links to the PP.js libraries and to the PP.css visual styles table. Create an application bar button - an instance of the RibbonButtonclass. Button should contain the drop-down menu:
<script type="text/javascript">
var menu = new PP.Ui.Menu();
menu.addItem(Photos);
menu.addItem(new PP.Separator());
menu.addItem(Pictures);
var b1 = new PP.Ui.RibbonButton({
Content: Illustration,
Menu: menu,
IsRTL: true});
b1.addToNode("btn1");
</script>
After executing the example the RibbonButtonenumeration items. The menu opens on pressing the button. Menu components are located on the left edge:
Seebsp;also: