Skip to main content

use_mode

Function use_mode 

Source
pub fn use_mode() -> Option<String>
Expand description

Reactive read of the active mode id — subscribes the caller so a label re-renders on switch. None before any mode is set.