Skip to content
This repository has been archived by the owner on Jun 10, 2023. It is now read-only.

More complete support / customisation of mdl-menu #75

Open
dsl101 opened this issue Nov 23, 2016 · 0 comments
Open

More complete support / customisation of mdl-menu #75

dsl101 opened this issue Nov 23, 2016 · 0 comments

Comments

@dsl101
Copy link

dsl101 commented Nov 23, 2016

With native MDL menus, you can use the following classes to control the position of the menu when it opens:

mdl-menu--top-right
mdl-menu--bottom-right
mdl-menu--top-left

Also, there's this class:

mdl-menu__item--full-bleed-divider

which rather annoyingly has to be applied to the previous item.

It would be great to be able to specify these in mdl-menu like this:

<mdl-menu bottom-right for="account">
  <mdl-menu-item>Change Password</mdl-menu-item>
  <mdl-menu-divider></mdl-menu-divider>
  <mdl-menu-item>Logout</mdl-menu-item>
</mdl-menu>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants