v-dropzone

Import

import { vDropzone } from '@feugene/granularity/directives/dropzone'

Exports

DropzoneOnFilestype
type DropzoneOnFiles = (files: File[], event: DragEvent) => void | Promise<void>
DropzoneBindingValuetype
type DropzoneBindingValue
vDropzoneconst
const vDropzone: Directive<HTMLElement, DropzoneBindingValue>

Descriptions come from the library in Russian and are not shown here — translating them is a decision of its own, see ADR-0003.

Library prose

Read it in the repository: docs/directives.md

Source: @feugene/granularity 0.41.0, package.json#exports and dist/types