0.2.0 • Published 5 years ago

cordova-plugin-keyboard-appearance v0.2.0

Weekly downloads
6
License
MIT
Repository
github
Last release
5 years ago

cordova-plugin-keyboard-appearance

This plugin lets you change UIKeyboardAppearance of Keyboard with values light or dark. It also supports the KeyboardStyle (string) preference in config.xml. BASED ON THIS cjpearson commit.

This plugin has only been tested in Cordova 3.2 or greater, and its use in previous Cordova versions is not recommended (potential conflict with keyboard customization code present in the core in previous Cordova versions).

Installation

From npm (stable)

cordova plugin add cordova-plugin-keyboard-appearance

From github latest (may not be stable)

cordova plugin add https://github.com/gabrielribeiro/cordova-plugin-keyboard-appearance

Methods

cordova.plugins.keyboardAppearance.setStyle

Sets style wihtin UIKeyboardAppearance.

cordova.plugins.keyboardAppearance.setStyle(style);

Description

Sets style wihtin UIKeyboardAppearance.

Supported Platforms

  • iOS

Quick Example

cordova.plugins.keyboardAppearance.setStyle('light');
cordova.plugins.keyboardAppearance.setStyle('dark');

Supported Platforms

  • iOS

Releases

  • 0.1.0
    • Initial release
  • 0.2.0
    • Added setting key
    • Fixed toolbar color