Skip to content
This repository has been archived by the owner on Jul 30, 2018. It is now read-only.

Ability to call listeners from widget harness #23

Closed
kitsonk opened this issue Apr 24, 2017 · 1 comment
Closed

Ability to call listeners from widget harness #23

kitsonk opened this issue Apr 24, 2017 · 1 comment

Comments

@kitsonk
Copy link
Member

kitsonk commented Apr 24, 2017

Enhancement

We should be able to call listeners on a virtual DOM render in a way that is similar to the widget.sendEvent() in the harness. Suggested signature is widget.callListener('onClick', { /* options? */ }).

@agubler
Copy link
Member

agubler commented Apr 24, 2017

This should be targeted by key (initial support could be only by key) and would need to pass the arguments to the listener.

@dylans dylans added this to the 2017.04 milestone Apr 25, 2017
kitsonk added a commit that referenced this issue May 1, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants