Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/seangwright/angular-directives-communication
Angular.js demo showing parent-children-sibling directives communicating
https://github.com/seangwright/angular-directives-communication
Last synced: 5 days ago
JSON representation
Angular.js demo showing parent-children-sibling directives communicating
- Host: GitHub
- URL: https://github.com/seangwright/angular-directives-communication
- Owner: seangwright
- Created: 2014-09-28T05:18:33.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-09-28T05:23:00.000Z (over 10 years ago)
- Last Synced: 2025-02-04T13:11:38.501Z (6 days ago)
- Language: JavaScript
- Size: 129 KB
- Stars: 4
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Angular Directives Communication
================================Angular.js demo showing parent-children-sibling directives communicating
The parent directive (itemManager) acts as the communication traffic manager between the two sibling directives (itemListNormal and itemEditor).
By exposing its own controller's methods to both children, the itemManager provides and API through which they can communicate with each other. In this case that communication is editing an item and having the updated contents display in the list.
This demo is currently using angular.js v1.3.0-rc3