pub fn value_container<T, V>(
child: V,
value_update: impl Fn() -> T + 'static,
) -> ValueContainer<T>where
T: 'static,
V: IntoView + 'static,Expand description
A wrapper around another View that has value updates.
A ValueContainer is useful for wrapping another View.
This is to provide the on_update method which can notify when the view’s
internal value was get changed