1.0.0 • Published 10 years ago
entitled v1.0.0
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();1.0.0
10 years ago