Pin Dialog


cordova数字密码对话框。


cordova plugin add https://github.com/Paldom/PinDialog.git

方法(Methods)

prompt(message)

显示一个可以输入数字密码的对话框

参数 类型 说明
message String 信息提示的一段文字

代码实例

module.controller('MyCtrl', function($cordovaPinDialog) {

			  $cordovaPinDialog.prompt('Some message here').then(
			    function(result) {
			      // result
			    },
			    function (error) {
			      // error
			  })
			});