title: How can we attach an event with the radio input?
body: <p>I am working with Ionic Framework on a mobile app. I have a filter in AlertController which I am using to filter item. Following is the code snippet:</p>
  
  <pre><code>let alert = this.alertCtrl.create();
  alert.setTitle('Categories');
  alert.addInput({
        type: 'radio',
        label: this.allCategories[i].categoryName,
        value: this.allCategories[i].id,
        checked: true
  });
  
  alert.addButton({
      text: 'Ok',
      handler: data =&gt; {
       //Filter Items by categories.
      }
    });
  </code></pre>
  
  <p>My question is that how can we attach an event with the radio input? Currently the items are filtered on "OK" button click of AlertController which is working fine but I would like to do it with an item is clicked.</p>
  
  <p>Thanks in advance</p>