<link rel="import" href="../polymer/polymer.html">

<script>

var Polymer = Polymer || {};
Polymer.CordovaKeyboardBehavior = {
	// Public methods
	closeKeyboard: function(e) {
		if (typeof cordova == 'undefined' || typeof cordova.plugins == 'undefined' || typeof cordova.plugins.Keyboard == 'undefined') {
			// Ignore if cordova plugin is not available
			return;
		}
		
		cordova.plugins.Keyboard.close();
	}
};

</script>

<link rel="import" href="../polymer/polymer.html">

<script>
var Polymer = Polymer || {};

/**
 * Allows interacting with the Cordova keyboard
 *
 * @polymerBehavior Polymer.CordovaKeyboardBehavior
 */
Polymer.CordovaKeyboardBehavior = {
	// Public methods
	closeKeyboard: function(e) {
		if (typeof cordova == 'undefined' || typeof cordova.plugins == 'undefined' || typeof cordova.plugins.Keyboard == 'undefined') {
			// Ignore if cordova plugin is not available
			return;
		}
		
		cordova.plugins.Keyboard.close();
	}
};

</script>

Add annotation as required nby Polylint
Add annotation as required nby Polylint