3

I'm using JQuery UI Touch Punch, like I use it in this JSFiddle. I searched a lot of places to figure out what event and ui contains, but I wasn't able to find something about it.

Is there some kind of documentation that I'm missing? Or can someone explain me what Touch Punch offers and what the event and ui parameters contain?

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
M Zeinstra
  • 1,931
  • 4
  • 17
  • 46
  • But have your read the purpose og it: http://touchpunch.furf.com/ ??? – A. Wolff Jun 29 '16 at 10:52
  • @A.Wolff Yes I did – M Zeinstra Jun 29 '16 at 10:53
  • So, i'm not sure what is your question? – A. Wolff Jun 29 '16 at 10:53
  • It's pretty simple.. I know what functionalities it offers (as you can see in my fiddle), like: sortable, accordion etc.. But I want to know what you can do with those functionalities.. I figured you can add `start` and `stop` events and add delay and such, but is there more and what do `event` and `ui` contain? Nothing is explained about it on their site @A.Wolff – M Zeinstra Jun 29 '16 at 11:01
  • 2
    So this is the same documentation as for jQuery UI one. See answer by TJ – A. Wolff Jun 29 '16 at 11:11

1 Answers1

4

jQuery UI Touch Punch is a library that just adds touch support to jQuery UI.

The documentation you are looking for is jQuery UI official site.

You can select the components to see a demo of them in action, and read their API documentation for further info. For example here is the API docs for sortable widget.

The arguments passed to callbacks and their properties might vary between widgets or the events that triggered them. The API docs usually contain such information. For example you can see what properties are present in sortable's start event arguments in start event documentation.

T J
  • 42,762
  • 13
  • 83
  • 138