ImpactStyle
How heavy a collision haptics.impact() makes the device feel.
Utilização
Add a light impact to an interaction.
Este tipo é usado por haptics.impact
// Add a light impact to an interaction.
import { haptics } from 'kuito';
await haptics.impact('medium');Declaração do tipo
export type ImpactStyle = 'light' | 'medium' | 'heavy';Tipo
"light" | "medium" | "heavy"Gerado a partir das declarações TypeScript públicas: assinaturas, props e predefinições vêm da fonte verificada, as descrições da sua JSDoc. Nenhuma predefinição é inventada.