uikit / uikit-site

🌎 Website and Documentation
https://getuikit.com
365 stars 331 forks source link

Update javascript.md #177

Closed hrvojegolcic closed 5 years ago

hrvojegolcic commented 5 years ago

Correct me if I'm wrong but after I updated from 3.1.9 to 3.2.1 this is clearly not supported anymore. I tried initializing modals, drops and filters. I observe that only a selector or a DOM node is accepted to initialize the component. Additionally I also observed the same behavior with passing a component to UIkit.util.on(). It can be only a selector or a node. It's a pity though because it would be really handy that one could as well pass jQuery object or even a component ref itself.

janschoenherr commented 5 years ago

This should still work, if not please open an issue on https://github.com/uikit/uikit/issues with a reproduction link.

hrvojegolcic commented 5 years ago

Well it does not work, as already mentioned I tried initializing modals, drops and filters