menu

ClipboardRepresentation

import { ClipboardRepresentation } from "destack:input/binding";

Clipboard representation descriptor.

language/library/src/input/binding/clipboard.ds:26:37
1export struct ClipboardRepresentation {2    mimeType: string;3    kind: ClipboardRepresentationKind;4    name: string;5    isDirectory: boolean;6    byteLength: uint64;7}

Members

mimeType: string

MIME type or host-native format identifier.

kind: ClipboardRepresentationKind

Representation kind.

name: string

Suggested representation name when available.

isDirectory: boolean

Whether a filesystem representation refers to a directory.

byteLength: uint64

Representation length in bytes when available.