I have a function that is common to both the page and the bar menu and I would like that when the user clicks on the page button the bar menu button changes.
I’m not sure how to do this while staying clean, send information to another page to tell it to use the function? or refresh permanently? or any other solution
Thanks for helping me get a cleaner idea of the thing.