Skip to content

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

Notifications You must be signed in to change notification settings

sensiasoft/cordova-plugin-keyboard-appearance

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/sensiasoft/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

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 94.8%
  • JavaScript 5.2%