본문으로 건너뛰기

Interface: KernelActionsApi

Defined in: packages/plugin-sdk/src/kernel/authoring.ts:408

Methods​

perform()​

Call Signature​

perform(action): Promise<{ text: string; }>

Defined in: packages/plugin-sdk/src/kernel/authoring.ts:409

Parameters​
action​

"clipboard.read"

Returns​

Promise<{ text: string; }>

Call Signature​

perform(action, params): Promise<Record<string, never>>

Defined in: packages/plugin-sdk/src/kernel/authoring.ts:410

Parameters​
action​

"clipboard.write"

params​
text​

string

Returns​

Promise<Record<string, never>>

Call Signature​

perform(action, params?): Promise<{ shown: boolean; }>

Defined in: packages/plugin-sdk/src/kernel/authoring.ts:411

Parameters​
action​

"notifications.show"

params?​

NotificationDef

Returns​

Promise<{ shown: boolean; }>

Call Signature​

perform(action, params?): Promise<{ files: KernelPickedFile[]; }>

Defined in: packages/plugin-sdk/src/kernel/authoring.ts:412

Parameters​
action​

"files.pick"

params?​
accept?​

string

multiple?​

boolean

Returns​

Promise<{ files: KernelPickedFile[]; }>