font-size-actions

1.0.2 • Public • Published

Font Size

Plugin for font-sizes and resize.

How to use

npm install --save font-size-actions
 
import $ from 'jquery';
import fontSize from 'fontsize';

Or just add the following lines:

<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script> <script src="./fontsize.js"></script>

 
<button class="mySelector" data-font-action="fontUp"></button>
<button class="mySelector" data-font-action="fontDown"></button>
 
$(document).ready(function(){
    $('.mySelector').fontsize();
});

Autor: Leonardo Tessaro

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i font-size-actions

      Weekly Downloads

      1

      Version

      1.0.2

      License

      ISC

      Last publish

      Collaborators

      • leonardotessaroalves