It is currently 22 April 2025, 5:41 Advanced search

Command ad IonSwipe

Domande e risposte su come utilizzare Instant Developer Cloud al meglio

Command ad IonSwipe

Postby A.Piunti » 5 January 2018, 16:41

Salve,
è possibile assegnare a run time il command ad un IonSwipe? Se si come?
Ho provato a replicare il codice presente su tripTrack, anche se in quel caso il componente è uno SwipeMenu, ma non sono riuscito nel mio intento.

Ciò che vorrei ottenere è la visualizzazione del comando CONCLUDI o ELIMINA eseguendo lo swipe a destra, a seconda di una variabile booleana.
User avatar
A.Piunti
 
Posts: 317
Joined: 1 January 2015, 13:20

Re: Command ad IonSwipe

Postby d.pierangeli » 16 January 2018, 16:09

Potresti provare a cambiare il Command a runtime assegnando un'altra lista valori.
User avatar
d.pierangeli
Pro Gamma
Pro Gamma
 
Posts: 8092
Joined: 30 September 2010, 15:35

Re: Command ad IonSwipe

Postby A.Piunti » 17 January 2018, 8:04

In che modo ed in quale evento?

Per ora ho risolto assegnado nell'on row composition della datamap un oggetto all'ionSwipe.commands (figura in allegato)
Attachments
command.PNG
command.PNG (8.55 KiB) Viewed 3071 times
User avatar
A.Piunti
 
Posts: 317
Joined: 1 January 2015, 13:20


Return to Tips & Tricks - Cloud

Who is online

Users browsing this forum: No registered users and 7 guests