Javascript methods in manual #331
marenostrum1981
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
It's here, sorry. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, happy new year.
Maybe i'm missing something that is already said.
I was trying to call a method from javascript (i'm using sweetalert for confirmations).
I know there is a call() method for call javascript directly from the component in the UnicornView.
But i was inspecting the javascript "unicorn.js" and I saw few nice methods, like Unicorn.call('component', 'method', ...args)
With that I can use perfectly django-unicorn with confirmation button on Sweetalerts.
It would be great to have these methods on the docs.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions