angular / components

Component infrastructure and Material Design components for Angular

Home Page:https://material.angular.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

md-menu

jelbourn opened this issue · comments

Blocked on both #113

First step for alpha.6:

  • design doc
  • proof-of-concept w/ a11y
commented

@kara can you post the design doc here once it's done, please?

Noticed <md-menu-divider></md-menu-divider> was not in the design doc. Are there plans to include it?

Also what about plans to include check boxes inside menu?

I noticed md-menu is not longer an 'Initial version', but the 'custom off-set support' is not implemented yet. Can you give me any indication when this is expected to be implemented?
Also I would like to use a md-menu-divider. This is not in the design doc, like willfarrell mentioned above. Did you already decide if (and if so, when) a md-menu-divider will be implemented?

@riankol can you file a separate feature request for that?

@quanterion the menu isn't meant for item selection, but for performing actions. md-select will be used for selection.

I'm closing this issue since most of the core menu behavior is done; remaining features can be tracked via their own issues.

@jelbourn What if i want the menu to be clicked open on hover? are u planning such a feature? It's really important for desktop UX.
thanks

commented

it's clunky, but I think you could do this

<button [md-menu-trigger-for]="menu" #menuTrigger="mdMenuTrigger" (mouseenter)="menuTrigger.openMenu()">
   <md-icon>more_vert</md-icon>
</button>

closing is another story

@fxck it didn't work, n threw an error " self._MdMenu_21_3.context.openMenu is not a function ..."

You'd be helped reading the docs so you know how to trigger the menu manually:
https://github.com/angular/material2/tree/master/src/lib/menu

Any plans on implementing cascading menus, is it on the roadmap ?

In this document(linked above in this thread), at the end, they are mentioning a TODO, and there is this entry:

Roadmap and timeline
The basic functionality should be completed in time for alpha.7. Extras like "offset" may be deferred until later.

TODO:
Cascading menu support

https://docs.google.com/document/d/1cSUrY2WAqSN8ePldLLqrEVkk2BkYbPB2fysC6brvj4Q/preview

Sadly, this is a blocker for us in switching to material2.

@crisbeto is starting work on the nested menus this week

Any update on this ?

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.