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

Enhancement: Support $mdCloseMenu #8446

Closed
cmacdonnacha opened this issue May 13, 2016 · 2 comments · Fixed by #9193
Closed

Enhancement: Support $mdCloseMenu #8446

cmacdonnacha opened this issue May 13, 2016 · 2 comments · Fixed by #9193
Assignees
Labels
has: Pull Request A PR has been created to address this issue P4: minor Minor issues. May not be fixed without community contributions.

Comments

@cmacdonnacha
Copy link

cmacdonnacha commented May 13, 2016

We can open a menu using:

ng-mouseover="$mdOpenMenu($event)"

but it would be great if something like mdCloseMenu was also supported:

ng-mouseleave="$mdCloseMenu($event)"

@ThomasBurleson ThomasBurleson added this to the - Backlog milestone May 19, 2016
@ThomasBurleson ThomasBurleson added P4: minor Minor issues. May not be fixed without community contributions. - needs: Pull Request labels May 19, 2016
crisbeto added a commit to crisbeto/material that referenced this issue Jul 31, 2016
Exposes the $mdCloseMenu method on the menu's scope, allowing for custom closing behavior.

Fixes angular#8446.
@crisbeto crisbeto self-assigned this Jul 31, 2016
@crisbeto crisbeto added the has: Pull Request A PR has been created to address this issue label Jul 31, 2016
crisbeto added a commit to crisbeto/material that referenced this issue Aug 1, 2016
Exposes the $mdCloseMenu method on the menu's scope, allowing for custom closing behavior.

Fixes angular#8446.
crisbeto added a commit to crisbeto/material that referenced this issue Sep 9, 2016
Exposes the $mdCloseMenu method on the menu's scope, allowing for custom closing behavior.

Fixes angular#8446.
crisbeto added a commit to crisbeto/material that referenced this issue Sep 15, 2016
Exposes the $mdCloseMenu method on the menu's scope, allowing for custom closing behavior.

Fixes angular#8446.
crisbeto added a commit to crisbeto/material that referenced this issue Sep 15, 2016
Exposes the $mdCloseMenu method on the menu's scope, allowing for custom closing behavior.

Fixes angular#8446.
crisbeto added a commit to crisbeto/material that referenced this issue Sep 17, 2016
* Deprecates the `$mdOpenMenu` method in favor of `$mdMenu.open` in order to simplify the API.
* Exposes the `$mdMenu.close` method on the menu's scope, allowing for custom closing behavior.

Fixes angular#8446.
crisbeto added a commit to crisbeto/material that referenced this issue Sep 18, 2016
* Deprecates the `$mdOpenMenu` method in favor of `$mdMenu.open` in order to simplify the API.
* Exposes the `$mdMenu.close` method on the menu's scope, allowing for custom closing behavior.

Fixes angular#8446.
@mackelito
Copy link

What´s the status on this?
Will we have a $mdOpenMenu() or .close() feature? :)

@crisbeto
Copy link
Member

There's #9193 which has been pending for a while. I'm not too sure when it'll be released.

kara pushed a commit that referenced this issue Oct 14, 2016
…nu (#9193)

* Deprecates the `$mdOpenMenu` method in favor of `$mdMenu.open` in order to simplify the API.
* Exposes the `$mdMenu.close` method on the menu's scope, allowing for custom closing behavior.

Fixes #8446.
@Splaktar Splaktar removed this from the - Backlog milestone Feb 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
has: Pull Request A PR has been created to address this issue P4: minor Minor issues. May not be fixed without community contributions.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants