mf-text-length
mf-text-length copied to clipboard
A text-length form validator and display directive for AngularJS
mf-text-length
Here's a quick example.
Settings
- mf-text-length - text length limit
- mf-text-warn-at - text length at which to show warning indicator (defaults to mf-text-length - 10)
Styles
- mf-text-ok-class - style of text-length indicator when the text-length is ok
- mf-text-near-class - style of text-length indicator when the text-length is within the warning range
- mf-text-at-class - style of text-length indicator when the text-length is at max-text-length
- mf-text-over-class - style of text-length indicator when the text-length is over max-text-length
What's with the mf prefix?
Stands for Mindflash, I used to work there, they're great folks and they're likely hiring :)
