Awesome
VCountdown
Show how many characters remaining in a HTML with pure JavaScript
Demo
View demo here.
Getting Started
# Get the latest snapshot
$ git clone git@github.com:pinceladasdaweb/VCountdown.git
Add the following javascript before your </body>
tag:
<script src="path/to/vcountdown.min.js"></script>
<script>
VCountdown({
target: '.countdown',
maxChars: 160
});
</script>
The script expect the following values:
Value | Description |
---|---|
target | Id or class of textarea. |
maxChars | Maximum of characters. Default is 140. |
Browser support
IE 9+ ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ |
Contributing
Check CONTRIBUTING.md for more information.
History
Check Releases for detailed changelog.