Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/234.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 数字键盘Ioinc2_Android_Ios_Angularjs_Ionic2 - Fatal编程技术网

Android 数字键盘Ioinc2

Android 数字键盘Ioinc2,android,ios,angularjs,ionic2,Android,Ios,Angularjs,Ionic2,当警报显示时,我想在屏幕上显示一个数字键盘 有办法做到这一点吗 showPrompt(message) { let prompt = this.alertCtrl.create({ title: "term and condition", message:message, inputs: [ { name: 'code', placeholder: 'Code', checked:false, }, ], 这样你就可以使用数

当警报显示时,我想在屏幕上显示一个数字键盘 有办法做到这一点吗

showPrompt(message) {
let prompt = this.alertCtrl.create({
  title: "term and condition",
  message:message,

  inputs: [
    {
      name: 'code',
      placeholder: 'Code',
      checked:false,
    },
  ],

这样你就可以使用数字键盘了。有关更多信息,请参阅

 showPrompt(message) {
    let prompt = this.alertCtrl.create({
      title: "term and condition",
      message:message,

      inputs: [
        {
          type: 'number'
          name: 'code',
          placeholder: 'Code',
          checked:false,
        },
      ]