Hacker News new | ask | show | jobs
by jacobbijani 6545 days ago
Yeah, you need to either explain the actual functionality you expect to have behind the button or figure that out first. You need to figure out if zooming in and back out again is actually possible with the same element before figuring out how to iconify it.

And if you go for just a toggle, then I agree your best bet is to simply toggle the button along with the state change.