Set menu position with binding #1329
Labels
feature
This issue represents a new feature or feature request rather than a bug or bug fix
needs: discussion
Further discussion with the team is needed before proceeding
Bug, feature request, or proposal:
Feature Request
What is the -expected- desired behavior?
To be able to bind values to the x-position and y-position inputs of the md-menu.
What is the current behavior?
I can't set the x-position or y-position by binding to a value
Changing MyMenu's template to include this
Causes a template parse error, (because x-position and y-position are attributes, not inputs?).
What are the steps to reproduce?
Can't get plunker to work with md-menu at the moment.
What is the use-case or motivation for changing an existing behavior?
For example, I want create a component that lets me drop in a menu with a list of items with custom behaviors already attached. Its template is basically this:
Sometimes, I am going to use these menus in a context where I have space on the left, or space on the right, or space above, ect. I want to be able to set in the x-position and y-position in the parent component and have it set on the menu.
Which versions of Angular, Material, OS, browsers are affected?
Angular 2.0.0
Material 8-2
Is there anything else we should know?
The text was updated successfully, but these errors were encountered: