0.0.3 • Published 9 years ago

btn-play v0.0.3

Weekly downloads
15
License
-
Repository
github
Last release
9 years ago

#btn-play

Youtube like animated play button based on the fabulous work of @LeaVerou.

#Install

npm install --save-dev btn-play

Usage

  1. Embed the build files

    <script src="build/play-btn.js">
    <link rel="stylesheet" href="build/style.css">
  2. Add angular dependency

    angular.module('your-app', ['pd.btn-play']);
  3. Use the directive

    <button btn-play="playState" ng-click="playState!=playState"></button>

Usage with browserify

  1. Embed styles

    <link rel="stylesheet" href="build/style.css">
  2. Require module

    angular.module('your-app', [
    	require('btn-play').name
    ]);
  3. Use directive

    <button btn-play="playState" ng-click="playState!=playState"></button>

TBC ... ;)

#Author

Christian Blaschke mail@platdesign.de