-
OR (and maybe this makes more sense) we just throw an exception if options.drag is defined in the updown or leftright modes? It feels like if you want it maybe you should just be using custom mode instead, and I'm not sure we should be making the code more complex for these edge cases?
I think this is the way.
There's a part of me that thinks it's cool to be able to add on the custom handler on top of the standard
updown
andleftright
ones - but not worth the trade off I think.
Thanks for the quick fix @Ganblejs - I'm just pulling that into the main app loader now.
Wrt
Bangle.dragHandler
it looks like none of the apps mess with it directly, so it could be changed. Or perhaps we could do:OR (and maybe this makes more sense) we just throw an exception if
options.drag
is defined in theupdown
orleftright
modes? It feels like if you want it maybe you should just be usingcustom
mode instead, and I'm not sure we should be making the code more complex for these edge cases?