Skip to main content

current_chrome

Function current_chrome 

Source
pub fn current_chrome() -> Chrome
Expand description

The chrome a contribution registered right now belongs to: the innermost navigation page being built, else the window being built, else the primary window.

Captured once, at registration. A derived contribution re-runs long after its build, when neither stack says anything, so reading this later would send its items to the primary window’s chrome.