Changes between Version 1 and Version 2 of UZ
- Timestamp:
- 2022.10.03 17:55:13 (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UZ
v1 v2 3 3 == Aim of this article 4 4 5 In this article I'm about to demonstrate how to create and use generic file uploader component. You can use it not only with bare Vue-3 but also with Quasar, Vuetify or other Vue-3 toolkit. 5 In this article I'm about to demonstrate how to create and use generic file uploader component. You can use it not only with bare Vue-3 but also with Quasar, Vuetify or other Vue-3 toolkit. This article describes only browser-side concerns. You need to provide server side by you own. 6 6 7 7 The repository is also mirrored on !GitHub. … … 15 15 * rudimental knowlegde of jQuery `ajax` command. 16 16 17 == General info 18 19 Described component is based on a simple state machine. It has no UI by itself so you need to provide some UI on your own. To accomplish this not only component instantation is needed but there is also need to fill its //slots//. The component has several config options from which actually only one needs to be provided (i.e. target upload URL). Other options control component behavior but they will be explained later. After providing target upload URL there is need to fill component slots by your own UI. Here I will describe generic browser UI only. If you are familiar with e.g. Quasar you can implement the UI on your own. 20 21 == Basic component usage 22 17 23 ---- 18 24