1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-30 04:23:11 +03:00

Started migration of attachment manager from vue

- Created new dropzone component.
- Added standard component event system using custom DOM events.
- Added tabs component.
- Added ajax-delete-row component.
This commit is contained in:
Dan Brown
2020-06-30 22:12:45 +01:00
parent 8dc9689c6d
commit 14b6cd1091
15 changed files with 315 additions and 72 deletions

View File

@ -0,0 +1,9 @@
{{--
@url - URL to upload to.
@placeholder - Placeholder text
--}}
<div component="dropzone"
option:dropzone:url="{{ $url }}"
class="dropzone-container text-center">
<button type="button" class="dz-message">{{ $placeholder }}</button>
</div>