![]() |
VOOZH | about |
Blaze UI is a framework-free open source UI toolkit that uses JavaScript components to build great user interfaces. It is the same as a bootstrap for use and has great different elements to use to make your website look more amazing. This framework allows us to use various of its styles and properties to make a website more user-friendly.
Blaze UI provides features to upload a file to the website directly from the device.
There are three attributes offered by Blaze UI File Upload:
Blaze UI File Upload CSS classes:
We can add a file upload feature using the blaze-file-upload tag provided by Blaze UI without defining any class. For this follow the following given syntax.
Syntax:
<blaze-file-upload ...> ... </blaze-file-upload>
We can add a file upload feature using the classes provided by Blaze UI.
Syntax:
<div class="c-file-upload"> ... <input type="file" /> </div>
Example 1: The following code demonstrates the Blaze UI file upload attributes using the Blaze UI file upload tag. A drop-zone is added, when we click on the text it will allow us to upload multiple files from our device.
Output:
Example 2: The following code demonstrates the Blaze UI file upload attributes using the Blaze UI CSS Classes.
Output: