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

Added a event for opening #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Added a event for opening #17

wants to merge 1 commit into from

Conversation

zestime
Copy link

@zestime zestime commented Jul 27, 2015

Thanks for your contextMenu.
It's really helpful to my work.

I needed a feature about opening. When users try to open contextMenu, I have to figure out whether opening or not. So, I added a handler for 'context-menu-opening'. I modified your example a little bit. link to codepen!

And your code is good for understanding directives in AngularJS. :)

@SuricateCan
Copy link
Contributor

I am working on a huge addition at the moment and a feature related to this will be on it.

SuricateCan pushed a commit to SuricateCan/ui.bootstrap.contextMenu that referenced this pull request Oct 13, 2015
Several additions:
* Issues:
   - Templarian#22 Adding a context menu class name to dropdown: Class ng-bootstrap-contextmenu is now appended to the holding div;
* Pull Requests
   - Templarian#17 Added a event for opening: Added event for opening, after open and after closed;
   - Templarian#21 Allow icons (as HTML) in menu item: Not as html, but the new builder api handles the icon submission;
   - Templarian#25 Added support for item text promise: The text is now wrapped inside a $q.when function.
@josetaira
Copy link
Collaborator

@Templarian what do you think of this? @zestime can you also add a change to README to inform of the changes in this PR?

@Templarian
Copy link
Owner

I like this idea a lot, it matches the ability that other Angular UI components have.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants