Detecting ion-textarea change with ionic2

Asked

Viewed 182 times

1

I’m developing an app and I needed to detect the ionChange or keyUp of an ion-textarea in Ionic 2.

Below are examples that work.

my file.ts

atualizar() {
 console.log('Atualizou :)');
}

my . html

<!-- FUNCIONA -->
<ion-checkbox (ionChange)="atualizar()"></ion-checkbox>
<!-- Não funciona -->
<ion-textarea (ionChange)="atualizar()"></ion-textarea>

I looked in the official documentation and found nothing can help me?

1 answer

1

  • Thank you, your Sponse help me!

  • 1

    Glad you helped him ;)

Browser other questions tagged

You are not signed in. Login or sign up in order to post.