Skip to main content

focused_value_model

Function focused_value_model 

Source
pub fn focused_value_model(view: &ViewHandle, model: &Model) -> ViewHandle
Expand description

.focusedValue(model) — publish the model for the commands above it.

The object form of what crate::views::focused_scene_value does with a key path, and the one Apple now recommends: a key is a type, and an @Observable object already is one.