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

feat(dropdown): allow using any event to toggle dropdowns #2082

Closed
wants to merge 1 commit into from
Closed

feat(dropdown): allow using any event to toggle dropdowns #2082

wants to merge 1 commit into from

Conversation

pkozlowski-opensource
Copy link
Member

Closes #1115
Fixes #1926

Copy link
Member

@maxokorokov maxokorokov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple of comments:

  • rename datepickerdropdown in the commit message. You tricked me into reviewing it, didn't you? :)
  • there is no documentation API generated for the ngbDropDownAnchor
  • I didn't get how it would work with say focus and blur events... demo/doc missing?

/**
* Marks an element to which dropdown menu will be anchored. This is a simple version
* of the NgbDropdownToggle directive. It plays the same role as NgbDropdownToggle but
* don't listen to click events to toggle dropdown menu thus enabling support for
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't → doesn't

@maxokorokov maxokorokov changed the title feat(datepicker): allow using any event to toggle dropdowns feat(dropdown): allow using any event to toggle dropdowns Feb 22, 2018
@pkozlowski-opensource pkozlowski-opensource added this to the 1.1.0 milestone Mar 23, 2018
@pkozlowski-opensource
Copy link
Member Author

@maxokorokov thnx for the review, all the valid points! I believe I've fixed all the issues you've spotted - could you please have another look?

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

Successfully merging this pull request may close these issues.

None yet

2 participants