twbs / ratchet

Build mobile apps with simple HTML, CSS, and JavaScript components.

Home Page:http://goratchet.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Drop down menu

justinjools22 opened this issue · comments

Reading through your documentation there is no example for adding a drop down 'bar' menu for global navigation. I have been playing around with the modal menu which would work except I can see no way of setting a transition just to appear rather than slide up. The popover would work except in your documentation it says you can only call from a title. Can you please give some guidance on how to do this. Am I surprised this not in your documentation.

Regards,
Justin Jools

It doesn't appear to be available. You will need to roll your own. I did and it's pretty simple (and surprisingly small). Popovers are pretty ugly but they will work for menus as long as they transition to another page. If you try to transition to a modal, it doesn't work properly. I tried both and found making my own slider menu a better design for my needs.

Bottom line, Ratchet is a very lightweight framework but is easily extendable. Unfortunately, you will need to be a bit of pioneer with this framework unless they start to add a few goodies soon.