Hi Jan, try $direction="horizontal" (it accepts horizontal/vertical)
Am Samstag, 3. Februar 2018 17:16:21 UTC+1 schrieb BurningTreeC: > > Hello TW community, > > I want to introduce the *pan widget:* > > *<$pan $targets $startactions $endactions>targets</$pan>* > > > A widget that consists of 2 Tiddlers: the widget itself and the hammer.js > library (~75kb) > It's one of the spin-offs from the TiddlyTouch plugin I'm working on > > *What it does:* > It recognizes when you pan on a html element > It stores all values from the pan event in a state tiddler which by > default is $:/state/pan but can be defined by > $statetiddler="anothertiddler" (starting coordinates, velocity, if mouse or > touch, end coordinates, the element's width/height/top/left/bottom/right > coordinates after/before and many more...) > It lets you specify (by css class) which elements to use. It can do it > with more than one within its scope, too > It triggers actions at pan-start and pan-end if you provide action-strings > with $startactions and $endactions > It's on/off switchable with $state="on" / $state="off" > $pointers="1|2|3..." > It can be stacked and so that more pan widgets can be used on the same > element or on different elements > > *you can find it on top of http://muritest.tiddlyspot.com > <http://muritest.tiddlyspot.com>* > > What I have in mind is building sliders, x/y pads... but many more things > could be done and triggered with it > > cheers, > Simon > > > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/ff60286b-c05e-4e07-9ec7-728f0ad5a19e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.