Does Onsen-UI 2 force you to use promises?



  • Well as the title asks, does Onsen-UI 2.0 force you to use promises when calling asynchronous functions?

    Also, how would I add Onsen-UI 2.0 to an existing Cordova application?



  • @sj.meyer No. It does not force you to use promises. Also, to add Onsen to an existing project, use the download tab of this document: https://onsen.io/getting-started/

    If you use NPM or Bower, you can also use those.