Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allow two-way binding on
isOpen
- Implement the canonical `isOpenChange` event to allow two-way binding - Update documentation example to use the new two-way binding This allows bindings like `<… dropdown [(isOpen)]="my.isOpen">` to prevent the internal and external flags from going out-of-sync whenever the dropdown is closed automatically. From the angular2 documentation: > […] Angular matches [(x)] to an x input property for property binding and an xChange output property for event binding.
- Loading branch information