haptics.ImpactStyle
The weight of the collision haptics.impact plays: 'light', 'medium' or 'heavy'.
Verwendung
Add a light impact to an interaction.
Dieser Typ wird verwendet von haptics.impact
// Add a light impact to an interaction.
import { haptics } from 'kuito';
await haptics.impact('medium');Typdeklaration
export type ImpactStyle = 'light' | 'medium' | 'heavy';Typ
"light" | "medium" | "heavy"Generiert aus den öffentlichen TypeScript-Deklarationen: Signaturen, Props und Standardwerte stammen aus der geprüften Quelle, Beschreibungen aus deren JSDoc. Kein Standardwert ist erfunden.