entitled

1.0.0 • Public • Published

entitled

A package that adds a button to each input and textarea element on the page for capitalizing titles

How to Use

In your HTML, simply add the capitalize attribute to each input or textarea that might contain titles.

Example:

<input type="text" name="title" capitalize>

In your JS, you can now require entitled using RequireJS or something similar. Now simply call capitalize() and all valid input fields will be appended with a button that says: Aa, which titlecases input.

Example:

var entitled = require("entitled");
entitled.capitalize();

Readme

Keywords

Package Sidebar

Install

npm i entitled

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • abejfehr