Open ndonkoHenri opened 2 weeks ago
Oh. thank you very much for fixing my issue :) I am very happy! But i wanted to make function because my project needs to changing page properties and other. Can you also add func
property to NavigationDestination
with type Callable[[Page], None]
?
@ndonkoHenri
Description
*Destination.page_controls
is a list of controls to be displayed in the page when a destination is clicked. It functions by simply replacing the currentpage.controls
by the providedpage_controls
, providedpage_controls
is notNone
..Test code
Enhancements
The current implementation works as expected... provided
on_change
callback is set. Without it being set, thepage_controls
won't be displayed when a destination is clicked.Related Issue
Closes #3092