Skip to main content

lumen_navigate

Function lumen_navigate 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn lumen_navigate( path: *const c_char, ) -> LumenStatus
Expand description

Navigate the active page to path (UTF-8, NUL-terminated). path is a page path ("settings", "/user/7", "/"), resolved by longest existing .lmn prefix - not a URL scheme. Equivalent to the script page("...") command and the Rust SDK Signals::navigate. Thread-safe.