DrupalGap icon indicating copy to clipboard operation
DrupalGap copied to clipboard

How to change the default transition effect for a DG core page?

Open luxio opened this issue 9 years ago • 1 comments

I wank to change the transition for the user/login page (only).

I have tried this:

function mymodule_deviceready() {
  ...
  drupalgap.menu_links['user/login'].options['transition'] = 'none';
  ...
}

This does not seem to work, the default transition is still used. Any ideas?

luxio avatar Oct 24 '16 11:10 luxio

@luxio I would've expected that to work, here's the line in question: https://github.com/signalpoint/DrupalGap/blob/7.x-1.x/src/includes/go.inc.js#L242

This line could be suspect as well: https://github.com/signalpoint/DrupalGap/blob/7.x-1.x/src/includes/go.inc.js#L138 - perhaps the options are being overwritten, the code looks good though, so I'm not sure.

signalpoint avatar Oct 24 '16 13:10 signalpoint