drab
Version:
Interactivity for You
20 lines (19 loc) • 467 B
TypeScript
import { Base, type BaseAttributes } from "../index.js";
export type BaseCopyAttributes = BaseAttributes & {
value: string;
};
export declare class BaseCopy extends Base {
constructor();
/**
* The value to copy or share.
*
* @default "" the empty string
*/
get value(): string;
set value(value: string);
/**
* Copies the `text`.
* @param text The `text` to share
*/
copy(text?: string): Promise<void>;
}