mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 23:16:52 +08:00
Event unit and some minor cleanups
This commit is contained in:
@ -1,6 +1,9 @@
|
||||
describe('Ionic Events', function() {
|
||||
it('Should block all click events', function() {
|
||||
var a = document.createElement('a');
|
||||
a.click();
|
||||
|
||||
ionic.trigger('click', {
|
||||
target: a
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user