Skip to content

Home > sculp-js > fallbackCopyText

fallbackCopyText() function

使用execCommand方式复制文本

Signature:

typescript
export declare function fallbackCopyText(text: string, options?: CopyTextOptions): void;

Parameters

Parameter

Type

Description

text

string

options

CopyTextOptions

(Optional)

Returns:

void

Released under the MIT License.