@fluid-topics/ft-file-drop
TypeScript icon, indicating that this package has built-in type declarations

1.1.80 • Public • Published

A container in which users can drop files to upload.

Install

npm install @fluid-topics/ft-file-drop
yarn add @fluid-topics/ft-file-drop

Usage

import { html } from "lit"
import "@fluid-topics/ft-file-drop"
import { FileDropEvent } from "@fluid-topics/ft-file-drop"

function render() {
    return html` 
        <ft-file-drop @file-drop=${ (e: FileDropEvent) => console.log(e.detail) } style="height: 300px;"></ft-file-drop> 
    `
}

Readme

Keywords

Package Sidebar

Install

npm i @fluid-topics/ft-file-drop

Weekly Downloads

331

Version

1.1.80

License

ISC

Unpacked Size

478 kB

Total Files

14

Last publish

Collaborators

  • antidot
  • mike.antidot