Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
New Developer
nosaku
Posts: 17
Registered: ‎12-03-2008
My Device: Not Specified

Disable display effect when pushing a screen in bbui.js

How do I disable fade or slide-left effects while pushing a screen using bbUI.js? My app is content rich, and I just don't want an effect moving to next screen. Is it possible to disable the display effects?

 

Regards,

Satish.

 

Developer
TheFlowFX
Posts: 166
Registered: ‎02-15-2012
My Device: Playbook 16GB

Re: Disable display effect when pushing a screen in bbui.js

Simply use this:

 

data-bb-effect="none"

If any post helps you please click the Like Button below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!

New Developer
nosaku
Posts: 17
Registered: ‎12-03-2008
My Device: Not Specified

Re: Disable display effect when pushing a screen in bbui.js

Yeah I tried "none". It works fine in Ripple, but not on the BB 10 simulator. On the simulator, it still uses the slide-left.

Regular Contributor
rickymardi
Posts: 135
Registered: ‎12-17-2012
My Device: curve 8900

Re: Disable display effect when pushing a screen in bbui.js

what kind of effect you not put effect to your screen , should be you dont have effect in your screen
Developer
TheFlowFX
Posts: 166
Registered: ‎02-15-2012
My Device: Playbook 16GB

Re: Disable display effect when pushing a screen in bbui.js

Have you tried removing that line completely?

If any post helps you please click the Like Button below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!

BlackBerry Development Advisor
chadtatro
Posts: 620
Registered: ‎10-01-2009
My Device: Z10

Re: Disable display effect when pushing a screen in bbui.js

I don't believe there's currently a way to disable this at all.  

 

The reason being, bbUI is intended to give you a native feel, having a screen just appear isn't really following the ui guidelines.  

Chad Tetreault | App Development Consultant | BlackBerry Developer Relations | developer.blackberry.com | @chadtatro