ng-typist
Intro
Angular wrapper for malarkey - a module to provide typing simulation
Installing
-
npm install -g gulp gulp-cli
install global cli dependencies -
npm install
to install dependencies
Running exmample app
-
gulp serve
to launch guld-webserver
Usage
<script type='text/javascript' src='ng-typist/dist/app.min.js'></script>
- angular.module('myApp', ['ng-typist'])
- provide a config object
- make sure you have bootstrap css
Example
$scope.typistConfig = {
words: ['Thanks for using ng-typist...', 'Have a nice day!'],
id: 'typist',
typeSpeed: 50,
deleteSpeed: 50,
pauseDelay: 500,
loop: true,
postfix: ''
};