hide-keyboard

This library is used to keep the keyboard hidden in an Ionic application when the focus is on a input.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
hide-keyboard
600.2.53 years ago6 years agoMinified + gzip package size for hide-keyboard in KB

Readme

hide-keyboard
This library is used to keep the keyboard hidden in an Ionic application when the focus is on a input.

Installation

To install this library, run:
$ npm i hide-keyboard

Use library into Ionic Project

Once you have installed, you can import library in any Ionic application by doing:
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';

import { AppComponent } from './app.component';

// Import library
import { HideKeyboardModule } from 'hide-keyboard';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,

    // Specify library as an import
    HideKeyboardModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

Once your library is imported, you can use its directives in your Ionic application:
<!-- You can now use your library component in app.component.html -->
<ion-input hideKeyboard placeholder="Barcode" name="barcodeField" id="barcodeField" type="text"></ion-input>

License

MIT © Gregory Heyligen