Notice: The Monaca & Onsen UI Community Forum is shutting down.
For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.
Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.
ons.bootstrap is not a function when I using onsenui.js v2.0.0-beta
-
Dir Fran Diox !!!
Now, I have a problem with onsenui.js version. and when i call 1 modal : "ReferenceError: modal is not defined"
But,when I using onsenui.js version 1.3.15, any things is good.
I have learned and follow api:
https://onsen.io/2/reference/ons-modal.html<script src=“lib/onsenui/js/onsenui.js”></script>
<script>
ons.bootstrap();
</script>
-
Are you planing to use AngularJS in your application? If that’s the case you should add AngularJS library and
angular-onsenui.js
extension. Otherwise, you need to removeons.bootstrap()
because that function only makes sense for AngularJS.
-
Yeah, thank a lot !!!
anythings ok…
And NOW
"Error: node is undefinedreturn logFn.apply(console, args);"
Lol…