-node+s1045711n5732960...@n5.nabble.com]
Sent: 6. september 2016 05:58
To: Svein-Erik Løken <sv...@jacilla.no>
Subject: Re: Swipe and touch
I think that embedding a “touch” solution in T5.4 is a bad idea. This has been
a fast-moving area, with lots of device-, and OS-version-, compati
h and swipe events. I think Tapestry also need to do that in
> upcoming versions.
>
> From: Chris Poulsen [via Apache Tapestry Mailing List Archives]
> [mailto:ml-node+s1045711n5732956...@n5.nabble.com]
> Sent: mandag 5. september 2016 15.00
> To: Svein-Erik Løken <sv...@
Archives]
[mailto:ml-node+s1045711n5732956...@n5.nabble.com]
Sent: mandag 5. september 2016 15.00
To: Svein-Erik Løken <sv...@jacilla.no>
Subject: Re: Swipe and touch
I think the way to go is not to expose them / use them directly in onClick.
Instead you bind them in a module (either us
On Fri, 02 Sep 2016 17:49:40 -0300, Qbyte Consulting
wrote:
I tried to add jquery mobile to my T5.4 project for swipe but it cracks
up. Same for angularjs.
Is there additional config required to add js libraries? Since I have
jquery set up already I figured I
I think the way to go is not to expose them / use them directly in onClick.
Instead you bind them in a module (either using t5/core/dom or jquery).
That way you are also keeping your global (script) scope much cleaner.
Lots of the tapestry framework client side code use this pattern.
--
Chris
Okay, after splitting my JS up into logical pieces and deploying them using
the module approach I can get jquery mobile to work. Perhaps the loading
times or sequence of script run was breaking things before?
Some trivial behaviours I added to a sidebar including a swipe out:
(function () {
I tried to add jquery mobile to my T5.4 project for swipe but it cracks up.
Same for angularjs.
Is there additional config required to add js libraries? Since I have jquery
set up already I figured I could just add the mobile.
Sent from my iPhone
> On 2 Sep 2016, at 19:40, Thiago H de Paula
On Fri, 02 Sep 2016 15:18:24 -0300, Svein-Erik Løken
wrote:
I cannot find any swipe and touch JavaScript library in Tapestry. Are
there any plans to include one in Tapestry in the future?
No, as it's pretty easy to use almost any JS library or framework inside