Navigation toggle state composable.
Controls the visibility of the mobile navigation sidebar/drawer.
Used by TheNavV2, TheNav, and TheSidebar components.
Example
constnav = useNavToggle() nav.value = !nav.value// Toggles the navigation drawer
useNavToggle():any
Returns any
Reactive boolean for navigation drawer state (false = closed, true = open)
Navigation toggle state composable. Controls the visibility of the mobile navigation sidebar/drawer. Used by TheNavV2, TheNav, and TheSidebar components.
Example