Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/gauntlet/imports/happy_dom.ts>DataTransferItem

Work-in-progress front-end tool which does put a smile on my face
Latest
class DataTransferItem
Re-export
import { DataTransferItem } from "https://deno.land/x/gauntlet@v0.0.9/imports/happy_dom.ts";

Constructors

new
DataTransferItem(item: string | File)

Constructor.

Properties

private
_item
readonly
kind: string
readonly
type: string

Methods

Returns file.

getAsString(): string

Returns string.