chore(example): Add Haptics page (#2032)

This commit is contained in:
Fabian-Lars
2024-11-11 16:53:56 +01:00
committed by GitHub
parent b2aea04567
commit fdc382dff0
4 changed files with 58 additions and 2 deletions
+6
View File
@@ -21,6 +21,7 @@
import Scanner from './views/Scanner.svelte'
import Biometric from './views/Biometric.svelte'
import Geolocation from './views/Geolocation.svelte'
import Haptics from './views/Haptics.svelte'
import { onMount, tick } from 'svelte'
import { ask } from '@tauri-apps/plugin-dialog'
@@ -130,6 +131,11 @@
label: 'Geolocation',
component: Geolocation,
icon: 'i-ph-map-pin'
},
isMobile && {
label: 'Haptics',
component: Haptics,
icon: 'i-ph-vibrate'
}
]