ngx-contextmenu
ngx-contextmenu copied to clipboard
feat(bidi): Implement RTL support

Closes #155.
When direction is RTL:
- sub menus are opened to the left by default,
- menu items containing sub menus are indicated with an arrow pointing to the left.
- text is aligned to the right.
- left arrow key opens sub menu,
- right arrow key closes the sub menu.
NOTE: Please notice that in order to actually enable RTL, either document.body (<body>) or document.documentElement (<html>) needs to have the dir attribute set to "rtl", otherwise it won't work.
Could this PR be merged please? @isaacplmann
@isaacplmann It's been a whole year since I've published this PR. Why not merge it?