grevory / bootstrap-file-input

Standardizes the file input field to look like a Bootstrap button in all browsers
Other
179 stars 63 forks source link

Adding support for "data-bfi-processed-class" option #28

Closed xeiter closed 10 years ago

xeiter commented 10 years ago

The new option, "data-bfi-processed-class", allows to define a class name that is added to every processed file input element. This allows to make sure that each input file element only gets processed once.

This could be useful if multiple file input elements are injected into page's DOM dynamically using Javascript and bootstrap-file-input functionality needs to be applied to newly injected input file elements only.

grevory commented 10 years ago

Thanks