1
I took an angular design and the menu is responsive, but the programmer did not do it with angular, did not create a component, he did it separately with javascript and "docked" in the project. I believe it is a gambiarra. Is it possible to make a responsive menu using angular component? What would be the most elegant way to do?
Type this menu using angular component: http://osvaldas.info/examples/drop-down-navigation-touch-friendly-and-responsive/? work#
I believe that you would have to call the Angular Design and do in pure javascript, until the knowledge I know in angular would be like this, I do not know if the Angular Framework for this
– Willian
now I don’t know if I’m talking too much, plus the angular when vc complicaa it, takes you to the pure javascript ;)
– Willian
ugly would be with $jquery
– Willian
vc pd do in pure css tbm
– Willian
by not having the click vc could do with css https://www.w3schools.com/css/css_dropdowns.asp
– Willian
@Willian Like this for not having click?
– Isa
following, because if you had to click the menu to open it, you would have a click event, but since you don’t have this event you don’t need js, you can make it full css
– Willian