ng-typist

0.0.17 • Public • Published

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

  1. <script type='text/javascript' src='ng-typist/dist/app.min.js'></script>
  2. angular.module('myApp', ['ng-typist'])
  3. provide a config object
  4. 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: ''
    };

Readme

Keywords

Package Sidebar

Install

npm i ng-typist

Weekly Downloads

0

Version

0.0.17

License

Apache-2.0

Last publish

Collaborators

  • kod88vn