Local js - ionic events not firing

I am loading ionic locally into an existing web application, so I am not using a framework.

Inline ionic events such as ionInput are not firing.

html:

<ion-searchbar (ionInput)="doSomething()"></ion-searchbar>

js:

var doSomething = function() {
    console.log('doing something');
};

Is this intended or am I doing something wrong?

This is angular syntax while u claim not to be using a framework

If u dont use frameworks then u need to attach event listeners yourself

(ion input does not have documented example for event ionChange in JS).

1 Like