Closed kzsense closed 6 years ago
Hi,
I'm not sure what you mean by that. You can toggle the drawer by changing the value of hidden input:
hidden: boolean - When set to true it will close the drawer completely. When set to false it will open it to docked position.
If this is not what you needed, can you please explain a bit better what do you mean by click to open and click to close.
Sorry to make u confused. The hidden input takes care of "show" or "hide" the drawer, i get it. What I mean by "click" support is that: for now you can only "drag" the drawer up, I would like a "click/tap" to slide up the drawer. It would be better if you have both "click" and "drag" both.
Kzsense, why don't you just make the click listener of a button or parts of the drawer content toggle the hidden value true/false?
I found it's easier if I have the screenshots to help me.. what I mean: then I "click", not "drag" the drawer, the drawer turns to .
what the hidden value do: so toggle hidden value doesn't help.
hope this makes sense
I think I understand what you mean. It makes sense. I'll publish the update next week.
Hi, you can check it now. If that's what you needed. You can now basically control the state input to change between Closed, Docked and Opened.
Yes it is working perfectly, thanks Toni, sorry for replying late, was working on other functionality lol
@kzsense can you share me some example or code [.scss/.ts] because I try to achieve the same functionality. if possible thanks, brother.
Hey Toni, can you add click to open and click to lose support please? Or can you give me the instructions how to do it?