pub fn value_container<T: 'static, V: IntoView + 'static>(
child: V,
value_update: impl Fn() -> T + 'static,
) -> ValueContainer<T>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