Skip to content

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

Closed

Description

@jelbourn

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).

Activity

  1. added
    feature
    on Oct 21, 2016
  2. angular-automatic-lock-bot commented on Sep 5, 2019

    @angular-automatic-lock-bot

    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.

  3. locked and limited conversation to collaborators on Sep 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions