You are welcome. I used this approach for implementing the swipe events in 
Streams and it worked really well. The big plus is that it means users can 
create their own UX on top of these events with just wikitext.

On Saturday, June 19, 2021 at 10:54:44 AM UTC+2 BurningTreeC wrote:

> Hi Saq, no I hadn't considered that but I will, it's a great idea!
>
> Thanks!
>
> saq.i...@gmail.com schrieb am Samstag, 19. Juni 2021 um 10:39:33 UTC+2:
>
>> Hi BTC,
>>
>> I was wondering if you have considered a more generic <$hammer> widget? 
>>
>> The idea would be to create a DOM node and enable the swipe, press, tap 
>> etc events on that DOM node. This could then be wrapped in an 
>> <$eventcatcher> to react to the events.
>> Cheers,
>>
>> Saq
>> On Saturday, June 19, 2021 at 10:10:05 AM UTC+2 BurningTreeC wrote:
>>
>>> Hello dear TiddlyWikians,
>>>
>>> I'm currently revising my HammerWidgets based on the hammer.js library 
>>> and I'm planning to pack useful features into the plugin
>>>
>>> Here <https://burningtreec.github.io/tiddlywiki-hammerwidgets/> there's 
>>> a preview (prerelease currently) with only the <$pan> widget included. In 
>>> this preview the pan widget is used to change the sidebar/story width using 
>>> a slider between the sidebar and the story
>>>
>>> There will also be <$swipe>, <$press>, <$tap> and <$pinch> widgets and 
>>> I'm looking fore useful things we can build with them so that I can include 
>>> them in the plugin
>>>
>>> Maybe some of you are interested to check the preview out and to give me 
>>> some feedback, all ideas are welcome :)
>>>
>>> best wishes, BTC
>>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/673206df-a189-4628-a8b5-99c97d67410fn%40googlegroups.com.

Reply via email to