Closed Pawel-Zygmunt closed 5 months ago
Do I need to control this with my own state and use this instead $menu.expanded, handle outside click and so on? Or is there an easier way ?
$menu.expanded
I think the best approach might be to allow control via the event itself (e.g. preventDefault or return false) - I'll have a play around and see what feels right.
Do I need to control this with my own state and use this instead
$menu.expanded
, handle outside click and so on? Or is there an easier way ?