nhanfu / htmljs

HTML render engine and data binding (MVVM)
MIT License
283 stars 48 forks source link

Can the dropdown do this? #4

Open findborg opened 9 years ago

findborg commented 9 years ago

I was wondering if there was a way to have the dropdown catch overflow list and import into it. Think nav menu with 8 items on desktop.(no dropdown) 4 items on phone with 4 items in dropdown.
I know that I can do this using media queries but it would be totally cool if it could be straight scripted...Not?