Skip to content

A custom element using polymerJS for character count - Based on customelements.io

Notifications You must be signed in to change notification settings

sostenesgomes/character-count

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

<character-count>

A custom element using polymerJS for character count - Based on customelements.io

Demo

Character Count

Check it live.

Usage

  1. Import Web Components':

<script src="//cdnjs.cloudflare.com/ajax/libs/polymer/0.1.4/platform.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/polymer/0.1.4/polymer.js"></script>
```
  1. Import Custom Element:

```
  1. Start using it!

```

Options

Attribute Options Default Description
name string textarea-text The name attribute of the textarea
height int 200 The height of the texarea
width int 500 The width of the textarea

Note: I used style css to textarea twitter bootstrap

© Sóstenes Gomes

About

A custom element using polymerJS for character count - Based on customelements.io

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published