ng-typist

Angular wrapper for malarkey

Usage no npm install needed!

<script type="module">
  import ngTypist from 'https://cdn.skypack.dev/ng-typist';
</script>

README

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: ''
    };