swipe-button icon indicating copy to clipboard operation
swipe-button copied to clipboard

How to swipe programmatically?

Open mohitkrdhiman opened this issue 7 years ago • 4 comments

I want to swipe it on button click, isthere any method???

mohitkrdhiman avatar Nov 23 '17 14:11 mohitkrdhiman

Hi @mohitkrdhiman. You could use toggleState(). Does it solve your problem?

leandroBorgesFerreira avatar Nov 28 '17 12:11 leandroBorgesFerreira

Is it possible to change initial_state programatically

paragyogi avatar Feb 23 '18 06:02 paragyogi

Sorry toggle State helped me . I was required to move to original stage after swiping by user SO I used toggle state two time. Am I correct?

paragyogi avatar Feb 26 '18 11:02 paragyogi

toggleState(); dynamically swipes the button. But the button is unusable after this event. Seems like the button is suddenly disabled.

idee24 avatar Jun 14 '19 14:06 idee24