capital-framework icon indicating copy to clipboard operation
capital-framework copied to clipboard

Implement architecture for component JS to talk to other component JS

Open anselmbradford opened this issue 8 years ago • 1 comments

Current behavior

  • Components are initialized within their package scope, such as on here, so don't provide an opportunity for other components to listen to events on them or to call methods on their API (such as show/hide or whatever).

Expected behavior

  • Particular components are able to listen to events on other components and call public methods on those other component's API.

anselmbradford avatar Oct 19 '17 18:10 anselmbradford

Related to https://github.com/cfpb/capital-framework/issues/667

anselmbradford avatar Oct 19 '17 18:10 anselmbradford