Hi Simon,
and I have another question applying this widget:
Using it, in both my use-cases I would have to set a field-value in an
existing tiddler.
I do not see how this is possible with the message-widget...could you
also make it trigger an action-widget?
Yours Jan
Am 02.02.2018 um 11:09 schrieb Jan:
Hi Simon,
thanks a lot for this widget.
A short report of my test.
On my desktop Touchscreen the black div to Test the swipe down works.
The triggering swipe velocity is not so easy to optain. $velocity=1
works much better.
On my Iphone the storyriver can not be us moved up and down no longer
- perhaps up and down arte dangerous here.
The swipe left on the normal tiddlers for me just seems to work from
time to time. Maybe it is intercepted by elements in the Tiddler?
Am 02.02.2018 um 09:30 schrieb BurningTreeC:
Am Freitag, 2. Februar 2018 09:27:40 UTC+1 schrieb BurningTreeC:
Am Freitag, 2. Februar 2018 01:54:18 UTC+1 schrieb Jan:
Hello Simon,
you made big progress. The feel of Muri is getting better and
better. I am looking forward to see your touch-inventions as
separate widgets!
Yours Jan
Hello Jan, thanks! I have a swipe widget ready on muritest, if
you take a look at the page <http://muritest.tiddlyspot.com> and
switch to the normal tiddlywiki view, you can swipe on tiddlers
and an action message gets sent.
There I'm calling it in the $:/core/ui/PageTemplate/story, take a
look how it's called - the message part is exactly like the
action-sendmessage widget.
2 more attributes are needed: targets="the target class of the
elements tos wipe" velocity="the velocity that must be reached to
trigger - you can provide floating numbers like 2.5"
1 more attribute can be provided: direction="left/up/down/right"
- if not provided any swipe triggers the action
all the best,
Simon
I forgot to say, you only need the widget tiddler and the hammer.js
tiddler for this. you can rename both tiddlers as you like. If you
change the name of the hammer.js tiddler, you need to change it in
the widget tiddler, there it gets calles with var Hammer =
require("the hammer.js tiddler name");
happy hacking!
--
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 [email protected]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
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/afafa3ee-415f-4995-b4d6-d4fe7e9087a7%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/afafa3ee-415f-4995-b4d6-d4fe7e9087a7%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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 [email protected].
To post to this group, send email to [email protected].
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/5A743AA0.6070007%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.