@ericongkc wrote:
How can i make button in ion-item clickable without clicking the item
I know you can use normal<div class="list">
and<div class="item">
to achieve this
and i don't want to use ion-option-button as they are for other use
but i need the ion-item functions to work as well. please help,
When i click on the button, it will actually click on both the button and the item
my html code below<body ng-app="app" ng-controller="MyCtrl"> <ion-pane> <ion-header-bar class="bar-stable"> <h1 class="title">Awesome App</h1> </ion-header-bar> <ion-content class="padding"> <ion-list> <ion-item class="item-button-right" ng-click="sayGoodby()" style="height:50px"> <button class="button button-assertive" ng-click="sayHello()">I'm a button</button> </ion-item> </ion-list> </ion-content> </ion-pane>
`
Posts: 1
Participants: 1