angular-swing icon indicating copy to clipboard operation
angular-swing copied to clipboard

Setting config variables in AngularJS web app

Open thehashrocket opened this issue 10 years ago • 4 comments

I've got an application using the sample cards demo sitting here.

If you try it out on your phone (or using Chromes dev tools and set it to emulate a phone screen) you can see that the throwout distance is pretty far. I'm using the same controller code as is in the demo as you can see here.

I'm wondering how we can set the configs as is referenced here? I'd like to be able to adjust the distance so it doesn't just sit outside the stage but instead disappears.

thehashrocket avatar Jul 16 '15 13:07 thehashrocket

+1 It doesn't seem to work with $scope.options and swing-options="options".

waxi2015 avatar Apr 05 '16 11:04 waxi2015

+1 Still a problem. Interesting there was code fix for this already in the directive. But seems to have been reverted.

jamesallchin avatar May 12 '16 18:05 jamesallchin

@gajus Looks like the npm build is simply out of date. Can you update with the latest code?

jamesallchin avatar May 12 '16 18:05 jamesallchin

@gajus I think npm still contains version 1.0.0

jamesallchin avatar May 12 '16 18:05 jamesallchin