It is possible to disable the opening animation of the ons.screen.presentPage() method?
I'm trying to use a login page as a modal window when the app is launched and I don't want the up animation, only the down animation...
Sorry, the current Onsen UI ver 1.0.4 has no method to disable the animation.
We plan to make it possible at the next version.
Related
Because 2sxc Accordion App have in settings "Initially open/close" switch for each section, I wonder is it possible to tweak this in some way to get Accordion initially open for desktop page view and initially closed for mobile page view?
It would save space / scrolling time and look more appealing in mobile page view.
Or just take this as idea for some next version of this App.
This would be fairly easy to do. I suggest you do the following:
The toggle for open/close could be replaced with the boolean-tristate, so you have a true (open), false (closed) and null (automatic).
Then adjust the razor code a bit to make this happen.
If you got it to work, it would be awesome if you could contribute your code to the app in github: https://github.com/2sic/app-accordion
my question is about :I want to create a popup window in the same page with a transparent UI stuff and few buttons in that which cane be in the same action
try to search "modal" on Google. It running on Javascript and CSS
In my single page application developed using Angular Js, I don't want to navigate in browser using browsers Back button,How to Hide or Disable or override the Back button function
You cannot control browser features using Javascript. It's as simple as that.
I found an answer here. But this code above will not work well with AngularJS because AngularJS uses URL_Hash # in the background.
Control or Disable Browser Back Button with Javascript or AngularJS
I have modified my app to use the tabbar control and it's working as expected. However, the back buttons that worked before modification no longer work. Any ideas on what the issue might be?
I'm trying to use the Onsen-UI with sliding-menu and when I test on device (Android) I see a delay on transition between pages/navigators.
The previous page appears a little bit until the new page is changed.
Did you use the project template provided by Monaca? I am using Android device (2.3), but no such effect appears.