sirinibin / auto-font-size

angular directive that grows or shrinks text to fit in a space with a fixed size

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

auto-font-size

angular directive that grows or shrinks text to fit in a fixed-size element

Installation

From the command line:

bower install auto-font-size

From the bower.json file

{
    "...
    "dependencies": {
        "auto-font-size": "0.0.8"
    },
	...
}

In your html

<script type="text/javascript" src="bower_components/auto-font-size/dist/auto_font_size.js"></script>

or

<script type="text/javascript" src="bower_components/auto-font-size/dist/auto_font_size.min.js"></script>

Dependencies

requires angular

Documentation

0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1

About

angular directive that grows or shrinks text to fit in a space with a fixed size

License:MIT License


Languages

Language:JavaScript 77.7%Language:Ruby 15.9%Language:HTML 6.5%