1.0.0 • Published 8 years ago
text-counter v1.0.0
text-counter
A small jQuery plugin to show counter of text
Getting started
Install it, using Bower:
$ bower install text-counter
Or using npm:
$ npm install --save text-counter
Include it:
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<script src="text-counter.js"></script>
<!-- [optional] Include the CSS file to use the plugin default themes and loaders -->
<link href="text-counter.css" rel="stylesheet">
Use it:
$("#some-element").textCounter({ limit: 30 });
Screenshot:
1.0.0
8 years ago