over 7 years ago
If you want to show a sheet of options where users can choose from, for IOS application, to make this possible please follow the instructions below:-
Install the plugin- ActionSheet: a Cordova plugin from the below link: https://github.com/EddyVerbruggen/cordova-plugin-actionsheet.git
and now add the following code in your js file
function testDeleteSheet() { var options = { 'addCancelButtonWithLabel': 'Cancel', 'addDestructiveButtonWithLabel' : 'Delete note' }; window.plugins.actionsheet.show(options, callback); };
and call it from here:
var callback = function(buttonIndex) { setTimeout(function() { alert('button index clicked: ' + buttonIndex); }); };
for more information: github.com/EddyVerbruggen/cordova-plugin-actionsheet/blob/49523327854bf974f8bc1ac1ceeb877dcc7e5915/README.md
Starting with Chrome version 45, NPAPI is no longer supported for Google Chrome. For more information, see Chrome and NPAPI (blog.chromium.org).
Firefox and Microsoft Internet Explorer are recommended browsers for websites using java applets.
Chrome Version Support
Are you sure, you want to delete this comment?
Sign up using
0 Comment(s)