Group Details Private

publishers

Articles publishers

  • RE: Hybrid app & web-only app from same source code

    @bzark Well, it depends. If you are using Cordova plugins within your app, they won’t work on web browser. If the features you need in your app require Cordova plugins, you will need to find alternative ways to include those features without the plugins. Otherwise, they won’t work on web browser.

    posted in Developer Corner
  • RE: Hybrid app & web-only app from same source code

    @bzark Sorry for a late reply. :bow:
    Yes, it is definitely possible to make such app with Monaca using Onsen UI with Angular 2. At the moment, Onsen UI + Angular 2 can’t be used with Monaca Cloud IDE due to the transpiling issue. However, they can be used with Monaca CLI. We’ve been working on supporting the transpiling feature in Monaca Cloud IDE and hoping to release them in the upcoming months.

    Please let me know if you any further questions. :)

    posted in Developer Corner
  • RE: Ios status bar overlays the webview

    @swordfishweb Please submit your project to our Support team. We’ll help checking what is wrong with your project.

    posted in Monaca Tools
  • RE: Please is angular 4 perfectly compartible with Onsen UI?

    @mykoman ngx-onsenui is compatible with Angular v4 at least. Not sure about v5.

    posted in Onsen UI
  • RE: How to change tabbar in page components ?

    @丶JavaScript said:

    <component :is=“page” :set-page="() => showPage(…)"></component>

    <component :is=“page” @page=“showPage(…)”></component>

    You pass props or event handler to the page components so you can communicate with them.

    posted in Onsen UI
  • RE: Scroll to element / to top with animation

    @Aden23q The scrollable element is not the list, but the page’s content (.page__content). You can learn about that wrapper here.

    posted in Onsen UI
  • RE: How to change tabbar in page components ?

    @丶JavaScript Do you mean changing the current page from a button inside pages? You’ll need to pass a prop function to modify your page variable or emit an event to do it.

    posted in Onsen UI
  • RE: Splitter and navigator

    @Michael-Redwine You can see all the “navigation” components (ons-navigator, ons-splitter, ons-tabbar) as some kind of frames that can change their content. As a content wrapper, they offer certain unique features: ons-navigator provides page stack and animations; ons-splitter provides a responsive side menu; etc. But they are just that, frames. If your frame A is the parent of frame B (i.e. frame B is part of the content of frame A), whenever you change frame A’s content you’ll be removing frame B and all its features.

    Therefore, if you have a splitter inside the first page of a navigator and you push a new page to the stack… the new page will be on top of the splitter and you won’t be able to see it. This means you only get a side menu for specific pages (the first one in this case). Otherwise, if you put the splitter as the parent of the navigator and push pages to the navigator’s stack, the splitter still remains in the same position and will be visible in every page of the stack. Components are not magically global, they only affect specific portions of the screen and as such you need to think about their order, position, etc.

    Hope this clarifies it a bit!

    posted in Onsen UI
  • RE: ons-tabbar lift animation

    @CsLaci Perhaps you can use a <ons-modal animation="lift"> for your use case.

    posted in Onsen UI
  • RE: Ios status bar overlays the webview

    @swordfishweb I tested a new blank project with the Status bar plugin and found that all of its functions are only working in debug build but not in the Debugger. Similar to how splashscreen settings are not reflected in debugger, only in the built app (debug/release). For this reason, you need to build the debug build in order to test those functions.

    Unlink iOS, all the functions are working as expected in Monaca Debugger in Android.

    Please note that StatusBar.overlaysWebView(true) is only for iOS 7. It may not work as expected for other version. Please refer to StatusBar plugin documentation.

    posted in Monaca Tools