triggerEvent (selector, context, type, options) RSVP.Promisepublic
Defined in packages/ember-testing/lib/helpers/trigger_event.js:6 Available since 1.5.0
Triggers the given DOM event on the element identified by the provided selector. Example: javascript
triggerEvent('#some-elem-id', 'blur');
This is actually used internally by the keyEvent helper like so: javascript
triggerEvent('#some-elem-id', 'keypress', { keyCode: 13 });
Parameters:
selector String
jQuery selector for finding el