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
Having a toggle method exposed, the above pseudo-code will actually work.
Having in mind Snackbar toggling itself could be argued as it could only be closed and not open by itself, triggering toggle from outside (ex. a button) is a pretty main scenario.
The text was updated successfully, but these errors were encountered:
Description
By design, the snackbar exposes only Show&Hide methods.
Having a slim API is nice for maintenance however, missing Toggle method results in both:
Steps to reproduce
Result
For both toggle scenarios(snackbar OR a button as origin), the following could not be achieved as Toggle() is not yet implemented.
Expected result
Having a toggle method exposed, the above pseudo-code will actually work.
Having in mind Snackbar toggling itself could be argued as it could only be closed and not open by itself, triggering toggle from outside (ex. a button) is a pretty main scenario.
The text was updated successfully, but these errors were encountered: