Skip to main content

OnReadyCallback

Type Alias OnReadyCallback 

Source
pub type OnReadyCallback = Arc<dyn Fn(ElementBounds) + Send + Sync>;
Expand description

Callback type for on_ready notifications when an element is laid out and rendered

The callback receives the element’s computed bounds after layout. This is triggered once per element after its first successful layout computation.

Aliased Type§

pub struct OnReadyCallback { /* private fields */ }