Bootstrap FileStyle seamlessly integrates with the Bootstrap framework and allows developers to change how an upload field appears in their forms.
The component comes with support for Bootstrap's native UI, icons, and color schemes, allowing developers to customize the notoriously difficult to style file selection input.
They can change the default label, show or hide the file name, show only the button, append a desired Bootstrap icon, change the button's colors, and even its size.
All of these can be carried out via a few lines of JavaScript, or just by changing a few data attributes in the HTML tag.
Docs and demos are included with the Bootstrap FileStyle component.
This component is also available without the Bootstrap dependency, as the jQuery FileStyle plugin.
Requirements:
- JavaScript enabled on client side
- jQuery 1.5 or higher
- Bootstrap
評論沒有發現