Form helpers.. for forms..
Javascript for floating labels.
Combines the best of all solutions:
- Works even with elements added after the DOM.
- Allows you to have a different placeholder and label attribute.
- Only targets inputs
Inspiration
window.FormHelpers = {
FloatingLabels: {
enabled: true
}
};
- Custom styled dropdowns
window.FormHelpers = {
FancyDropdowns: {
enabled: true,
selector: '.input.input-select:not([data-fancy-dropdowns="off"]) select'
}
};
CD to root
Install packages:
sudo npm install
sudo bower install
Watch for changes
grunt watch
Build release
grunt build
Available under the MIT License.