Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

How to set a value on ionic action sheet buttons

$
0
0

@bwertman wrote:

I'm using the $ionicAcionSheet to create multiple buttons with titles based on the object properties returned from my get request.

The docs example shows two buttons responding to the same buttonClicked property function.

I need to get the rest of the properties associated with the object that came back from my get request that the clicked button's title was referenced from.

Is there a way to set a value on each button created that might point to the index of the object in my returned array of objects?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>