Skip to content

iigethr/altai_count

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Altai Count

Set maximum characters and display remaining.

Installation

NPM
npm i altai_count
Yarn
yarn add altai_count
Ruby on Rails

Add this line to your application.js

//= require altai_count/dist/altai_count

Set by using the following:

$(".altai-count").altaiCount();

Settings:

## Define max character set.
maxCharacters: 140

## Print state
klass: ".altai-characters"

## State message
tagline: "characters remaining."

## Print log messages in your developer console.
debug: true or false

License

The gem is available as open source under the terms of the MIT License.

About

Set maximum characters and display remaining.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published