Skip to main content

SIDEBAR_TOGGLE_ID

Constant SIDEBAR_TOGGLE_ID 

Source
pub const SIDEBAR_TOGGLE_ID: &str = "day::sidebar_toggle";
Expand description

The reserved id of the sidebar affordance a nav(Sidebar) supplies for itself (docs/toolbars.md). Backends with a system item for the job (AppKit’s NSToolbarToggleSidebarItem) recognize it by this id and draw theirs instead; dayscript recognizes it to drive the toolkit’s own duty rather than an app closure.

Day API ↩ Guides· daybrite.dev