In beta 8, click isn't ionClick

According to change log https://github.com/driftyco/ionic/blob/2.0/CHANGELOG.md#ionicons-were-moved

all events are supposed to have an ‘ion’ prefix now. I just upgraded to beta 8, and it appears it’s not the case for the “click” event. Is that deliberate or a lfetover?

It’s because (click) it’s an Angular 2 event, not a Ionic one.

A bit off, the click even is a generic browser event :grin:

@itlr this is to differentiate between:

  • browser events, which have no prefix
  • angular events, which have ng prefix
  • ionic events, which have ion prefix.
2 Likes