H
​i Jeremy,
​

>
> After playing with it for a while, a request for an additional
> functionality arose: being able to restrict the dragged tiddlers to be
> accepted in certain droppable areas while being refused in others. I guess
> I could use a state parameter with the <$draggable> widget, and
> whitelist/blacklist parameters with the <$droppable> widget.
>
>
> That’s my thinking too. I think we need two capabilities:
>
> * Adding a “type” attribute to the draggable widget, and an “acceptType”
> attribute to the droppable widget
> * Adding a filter to the droppable widget that is applied to incoming
> tiddlers so that they can be checked (eg only accepting tiddlers with a
> given tag)
>

​Yes!​


> Also, for the record, being able to use drag and drop on phones and
> tablets would be nice :-)
>
>
> I did find this shim that implements the HTML5 drag and drop APIs on
> mobile browsers, both iOS and Android:
>
> https://github.com/timruffles/ios-html5-drag-drop-shim
>
> Does the demo work for you?
>
> http://timruffles.github.io/ios-html5-drag-drop-shim/enter-leave/
>

​Indeed, the demo works very smoothly on every browsers I have got
installed on my Android 5.1 phone!

Have a good day
​-- Xavier​.

-- 
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/CADeSwYOKXiZiMJS9dXqk-n5mF54yiic3By-_yzEMU_0axqc4qw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to