在 app.js 我有,
if (window.cordova && window.cordova.plugins.Keyboard) {
cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true);
cordova.plugins.Keyboard.disableScroll(true);
}
在我的 HTML 中,我有
<ion-footer-bar keyboard-attach class="bar-stable item-input-inset" style="margin-bottom: 50px; height: 60px; background-color: white;">
<input style="width: 100%;" type="text" placeholder="{{'text_input' | translate}}" ng-model="post.new"/>
</ion-footer-bar>
当键盘处于活动状态时,我想在 5.0 以上的 android 中隐藏笑脸按钮。我该怎么做?我不希望用户在文本字段中输入笑脸。