fittxt
v1.0.1
Published
Modernized FitText.js
Downloads
14
Readme
fittxt
Modernized FitText.js
Table of Contents
Install
This project uses node and npm.
$ npm install fittxt
$ # OR
$ yarn add fittxt
Usage
import fittxt from 'fittxt'
fittxt('.test', {
factor: 6,
min: 50,
max: 600,
throttleTime: 500
})
fittxt(['.test', '.foop'])
fittxt(document.querySelector('.test'))
Contribute
- Fork it and create your feature branch: git checkout -b my-new-feature
- Commit your changes: git commit -am 'Add some feature'
- Push to the branch: git push origin my-new-feature
- Submit a pull request
License
MIT