Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support [md-menu-trigger-for] with anything conforming to MdMenu interface #1560

Closed
jelbourn opened this issue Oct 21, 2016 · 1 comment
Closed
Labels
feature This issue represents a new feature or feature request rather than a bug or bug fix

Comments

@jelbourn
Copy link
Member

Right now, [md-menu-trigger-for] requires that its value be an instance of MdMenu:

<button md-icon-button [md-menu-trigger-for]="menu"> Open Menu </button>

<md-menu #menu="mdMenu">
  <button md-menu-item> Hello! </button>
</md-menu>

It would be more flexible to allow the value to be anything that conforms to the expected interface (something like interface MdCustomMenu).

@jelbourn jelbourn added the feature This issue represents a new feature or feature request rather than a bug or bug fix label Oct 21, 2016
@jelbourn jelbourn added the has pr label Nov 1, 2016
@hansl hansl closed this as completed in 96d196a Nov 1, 2016
@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature This issue represents a new feature or feature request rather than a bug or bug fix
Projects
None yet
Development

No branches or pull requests

1 participant