@noblesam/angular-flowtype

1.0.1 • Public • Published

angular-flowtype

AngularJS directive for Flowtype.JS

I love using Flowtype.JS and realized there's no out-of-the-box directive out there, pretty easy but thought I'd through it out there anyway.

Installation (via Bower):

    $ bower install angular-flowtype

Usage:

  • Download and include angular-flowtype.js (and jQuery + Flowtype.JS, of course)

     <script type='text/javascript' src='path/to/jquery.min.js'></script>
     <script type='text/javascript' src='path/to/flowtype.min.js'></script>
     <script type='text/javascript' src='path/to/angular-flowtype.js'></script>
    
  • Add 'ngFlowtype' to your app's dependencies

     angular.module('myApp', ['ngFlowtype']);
    
  • Use the directive as an attribute, specify optional settings.

     <div flowtype min-font="1" max-font="9999" font-ratio="35" line-ratio="1.45" minimum="1" maximum="9999"></div>
    

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    1
  • 1.0.0
    0

Package Sidebar

Install

npm i @noblesam/angular-flowtype

Weekly Downloads

0

Version

1.0.1

License

UNLICENSED

Last publish

Collaborators

  • noblesamurai
  • eugeneware
  • jacob-samurai