What extra is needed for the hammer/pan widget?

120 views
Skip to first unread message

Jan

unread,
Dec 3, 2018, 4:39:14 AM12/3/18
to TiddlyWiki
Hi everybody,
I am experimenting with the hammer-widgets-plugin but I have problems getting the widgets to work in the new prerelease here http://szenio.de/hammer/test
I imported
 
 

HammerJS library by Jorik Tangelder (Eight Media)

$:/plugins/tiddlywiki/hammerjs

5.1.17-prerelease

 
 

Spreadsheet-like formulas in TiddlyWiki.

$:/plugins/ebalster/formula

0.2.3

 
 

Swipe, Pan, Press, Tap and Pinch Widgets

$:/plugins

but still the divs do not move, whereas using the demo my experiment works. http://szenio.de/hammer

So thanks for help,
Jan

BurningTreeC

unread,
Dec 3, 2018, 7:10:11 AM12/3/18
to TiddlyWiki
Hi Jan, I'm afraid the tiddlyspot HammerWidgets page is way out-of-date

I've moved my projects to github recently, see https://github.com/BurningTreeC

There's also a HammerWidgets repository: https://github.com/BurningTreeC/HammerWidgets

But note: there's no release. My repositories without release are in Demo-State

For the coming 5.1.18 release I'm planning 2 things:

making the KeeBoord plugin 5.1.18-ready (wait for a release, the current state is a mess)

finding useful cases for hammerwidgets and making them 5.1.18-ready (also here: wait for a release, the current state is a mess)

 

Jan

unread,
Dec 3, 2018, 8:39:44 AM12/3/18
to tiddl...@googlegroups.com
Hi Simon,

For the coming 5.1.18 release I'm planning 2 things:
finding useful cases for hammerwidgets and making them 5.1.18-ready (also here: wait for a release, the current state is a mess)

I really would like to help there.  As I told you I am eager to use it im my storytelling/SLideshow tool.
And I want to build an TW5/Php installation that can do aproximately what padlet can do. Arranging images on a canvas thus is a primary goal.

Yours Jan

BurningTreeC

unread,
Dec 3, 2018, 8:55:18 AM12/3/18
to TiddlyWiki
That'd be great, the problem is defining a use-case that makes sense and can be re-used within a wiki, altering current solutions or creating new ones that have productive functionality
A clearly defined list of such use-cases would be of great help for creating widgets, so they can be designed towards the use-case


Yours Jan

AdamS

unread,
Dec 13, 2018, 8:47:39 PM12/13/18
to TiddlyWiki
I, too, am trying to make use of the hammer/pan widgets. But am having some trouble with the starting-x and starting-y values not quite working (unless I'm simply doing something wrong). Very much looking forward to their 5.1.18 release. If I could make one request with it. It might be useful to be able to specify one element that triggers the pan action and another element for which the metrics are tracked. That could make some things I'm trying to do a bit quicker, but ultimately, I'll just be ecstatic to see the 5.1.18 release.

Best regards,

Adam

AdamS

unread,
Dec 13, 2018, 9:07:36 PM12/13/18
to TiddlyWiki
Oh wow. I just found the http://hammerwidgets.tiddlyspot.com/ page. I was using an even older version. It looks like you've already anticipated what I had in mind. I'm excited to play around with this!

AdamS

unread,
Dec 20, 2018, 4:59:40 PM12/20/18
to TiddlyWiki
Hi BTC,

I've been experimenting with your pan widget, but I'm having some difficulty. Is it possible to have the drag bar and resizer be DOM siblings rather than parent-child? On your demo page, you have a resizable div, but the whole div is a handle for the dragging. I can't seem to figure out how to put the two functions under the same parent element.

Best regards,

Adam

On Monday, December 3, 2018 at 1:55:18 PM UTC, BurningTreeC wrote:
Reply all
Reply to author
Forward
0 new messages