Socket
Book a DemoInstallSign in
Socket

@fluid-topics/ft-file-drop

Package Overview
Dependencies
Maintainers
3
Versions
374
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluid-topics/ft-file-drop

Container that accepts dropping files

latest
npmnpm
Version
1.3.12
Version published
Maintainers
3
Created
Source

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> 
    `
}

Keywords

Lit

FAQs

Package last updated on 06 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts