Your e the parts nevertheless should, but have named exploit software-tinder-card
This might be a bare-bones exemplory case of performing a gesture (there are a lot more configuration solutions which are often supplied). I ticket the fresh element you want to attach the newest gesture so you’re able to through the el assets – this should be a mention of indigenous DOM node (elizabeth.g. something that you perform usually bring having an effective querySelector or within Angular). Inside our instance, we possibly may citation when you look at the a mention of card feature one we would like to attach so it motion so you can.
Up coming we have the around three procedures onStart , onMove , and you can onEnd . New onStart method was triggered whenever the representative starts a gesture, the newest onMove approach have a tendency to cause each time there clearly was an improvement (age.g. (más…)