You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My code within my function is as follows (page is the element I want to open):
var options = {
"href" : page,
"direction" : "up", // 'left|right|up|down', default 'left' (which is like 'next')
"duration" : 500, // in milliseconds (ms), default 400
"slowdownfactor" : 4, // overlap views (higher number is more) or no overlap (1), default 3
"iosdelay" : 100, // ms to wait for the iOS webview to update before animation kicks in, default 50
"androiddelay" : 150 // same as above but for Android, default 50
};
window.plugins.nativepagetransitions.slide(
options,
function (msg) {console.log("success: " + msg)}, // called when the animation has finished
function (msg) {alert("error: " + msg)} // called in case you pass in weird values
);
However when I call the function I get:
Uncaught TypeError: Cannot read property 'nativepagetransitions' of undefined
Have I not installed properly? or do i require another framework?
I am using Phonegap Desktop App with Google Chrome and PhoneGap Developer app to test.
Many thanks for any help
John
The text was updated successfully, but these errors were encountered:
Does this plugin work with with Phonegap (using Adobe) and no Ionic, Jquery Mobile or anything other than Jquery and bootstrap?
I have added the plugin (renamed to: com.telerik.plugins.nativepagetransitions) folder to my plugins folder.
I have added the following line in config.xml:
<plugin name="com.telerik.plugins.nativepagetransitions" source="plugins.cordova.io" version="0.4.0" />
My code within my function is as follows (page is the element I want to open):
However when I call the function I get:
Uncaught TypeError: Cannot read property 'nativepagetransitions' of undefined
Have I not installed properly? or do i require another framework?
I am using Phonegap Desktop App with Google Chrome and PhoneGap Developer app to test.
Many thanks for any help
John
The text was updated successfully, but these errors were encountered: