Animates input placeholders to make it look like they are being typed in realtime.
$ npm install ng2-input-hints
# or
$ yarn add ng2-input-hints
Import the InputHintsModule
and include it in your NgModule:
import { InputHintsModule } from 'ng2-input-hints'
<input [inputHints]="['Lorem ipsum', 'dolor sit amet', 'consectetur adipiscing elit']"
[inputHintsWaitBeforeDeleteMs]="9000"
[inputHintsWriteSpeedMs]="100"
[inputHintsDeleteSpeedMs]="60"
/>
Use the selector:placeholder
CSS pseudo-class to style your placeholders!
Licensed under the MIT license.
William Boman [email protected]