How to create a drop down menuOctober 8, 2018 at 1:15pm
I'm trying to build a prototype and was wondering what the best way would be to create a simple dropdown menu.
So click on icon and menu appears.
October 9, 2018 at 6:54am
Good question! You need 3 things:
1. A place to store the open/closed state of the dropdown menu
2. A function that listens to the click on the dropdown trigger
3. A function that toggles the visibility of the dropdown options menu
That sounds complicated, but it's really not :) You only need 10 lines of code. Here's an example: https://drive.google.com/file/d/1Xc0JhXQhuuVAYT6TyTAfbbQJuFD2Ehj7/view?usp=sharing
October 11, 2018 at 1:17pm
I was looking for the Command 9 key, as I kept hitting Command 2 as per sketch but was getting nowhere...Many thanks.
Quick one - you have zoom in and zoom out as Command -, you might want to correct that Jurre
November 11, 2018 at 5:08pm
November 12, 2018 at 3:47am
November 13, 2018 at 2:26pm
February 5, 2019 at 8:01pm