Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend 'sidebar-toggle' event to force open state #317

Merged
merged 1 commit into from
Feb 3, 2023

Conversation

chrismayer
Copy link
Collaborator

This extends the 'sidebar-toggle' event of the AppSidebar component, so the opening state of the sidebar can be forced (not just toggled). Done by passing a boolean argument when firing the event. Harmonizes the signature / behavior with the 'app-loading-mask-toggle' event, which does similar things.

This extends the 'sidebar-toggle' event of the AppSidebar component, so
the opening state of the sidebar can be forced (not just toggled).
Done by passing a boolean argument when firing the event.
Copy link
Collaborator

@JakobMiksch JakobMiksch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Useful addition!
Since, it does not change the default behavior, I vote for merge.

@chrismayer
Copy link
Collaborator Author

Thanks for the review @JakobMiksch. I am going to merge...

@chrismayer chrismayer merged commit fa380b8 into wegue-oss:master Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants