haptics.ImpactStyle
The weight of the collision haptics.impact plays: 'light', 'medium' or 'heavy'.
Utilisation
Add a light impact to an interaction.
Ce type est utilisé par haptics.impact
// Add a light impact to an interaction.
import { haptics } from 'kuito';
await haptics.impact('medium');Déclaration du type
export type ImpactStyle = 'light' | 'medium' | 'heavy';Type
"light" | "medium" | "heavy"Généré depuis les déclarations TypeScript publiques : signatures, props et valeurs par défaut viennent de la source vérifiée, les descriptions de sa JSDoc. Aucune valeur par défaut n'est inventée.