weasel API - v0.8.0
    Preparing search index...

    Interface ClipboardDep

    Clipboard dep — the imperative surface useClipboardOps returns.

    Consumers publish their live clipboard through useDepSource('clipboard', …) from inside the <DepRegistryProvider> (i.e. under <SceneCanvas>). The kit deliberately does not build one for them: useClipboardOps needs an adapter and a selection reader that only the consumer can supply.

    interface ClipboardDep {
        copy(): void;
        isEmpty(): boolean;
        paste(): void;
    }
    Index

    Methods