@tauri-apps/plugin-haptics
이 콘텐츠는 아직 번역되지 않았습니다.
type ImpactFeedbackStyle: | "light" | "medium" | "heavy" | "soft" | "rigid";Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/haptics/guest-js/bindings.ts#L76
type NotificationFeedbackType: "success" | "warning" | "error";Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/haptics/guest-js/bindings.ts#L82
function impactFeedback(style): Promise<Result<null, never>>| Parameter | Type |
|---|---|
style | ImpactFeedbackStyle |
Promise<Result<null, never>>
Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/haptics/guest-js/index.ts#L11
function notificationFeedback(type): Promise<Result<null, never>>| Parameter | Type |
|---|---|
type | NotificationFeedbackType |
Promise<Result<null, never>>
Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/haptics/guest-js/index.ts#L12
function selectionFeedback(): Promise<Result<null, never>>Promise<Result<null, never>>
Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/haptics/guest-js/index.ts#L13
function vibrate(duration): Promise<Result<null, never>>| Parameter | Type |
|---|---|
duration | number |
Promise<Result<null, never>>
Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/haptics/guest-js/index.ts#L10
© 2025 Tauri Contributors. CC-BY / MIT