You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
User control (UserControl) allows building re-usable components by combining existing Flet controls. User control behaves like a Control, could have methods and properties.
User control has lifecycle methods:
did_mount() - called after the UserControl added to a page and assigned transient id.
will_unmount() - called before the UserControl is removed from the page.
UserControl is inhrited from Stack control and allows multiple children.
UserControl is isolated from outside layout, i.e. when update() method is called for the parent control any changes inside the UserControl are not included into the update digest. UserControl should call self.update() to push its changes to a Flet page.
The text was updated successfully, but these errors were encountered:
User control (
UserControl
) allows building re-usable components by combining existing Flet controls. User control behaves like aControl
, could have methods and properties.User control has lifecycle methods:
did_mount()
- called after the UserControl added to a page and assigned transientid
.will_unmount()
- called before the UserControl is removed from the page.UserControl
is inhrited fromStack
control and allows multiple children.UserControl is isolated from outside layout, i.e. when
update()
method is called for the parent control any changes inside the UserControl are not included into the update digest. UserControl should callself.update()
to push its changes to a Flet page.The text was updated successfully, but these errors were encountered: