Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49299

How to provide double click callback on ion-select?

$
0
0

@setu1421 wrote:

I have a ion-select list. Now, when i select an option, i am triggering one callback using (ionSelect). But i want to trigger another callback when user double clicks on an option. My code is:

 <ion-select interface="popover" >
            <ion-option *ngFor="let item of macroList" [value]="item.MacroName"
                        (ionSelect)="previewMacro(item)">{{item.MacroName}}
            </ion-option>
 </ion-select>

Is there any way to distinguish click and double click event in ion-select? Is it possible to do that?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49299


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