Close Bottomsheet programatically ???
-
Hi, i m using bottom sheet in my site and want to close programatticallty.
Actually i want like when user create bottom sheet and not click ant option for 45 or 60 sec i want to close bottom sheet.
so when ideal condition is gone past 45 second i want to close bottom sheet.
any idea??
-
https://codepen.io/smolinari/pen/poJRYXO?editors=1010
I believe, if you want the seconds to actually count down, you’d need to use the dialog component.
Scott