Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: divider and dropdown-header in data-navmenu #405

Open
maferre1ra opened this issue Dec 15, 2022 · 1 comment
Open

Feature request: divider and dropdown-header in data-navmenu #405

maferre1ra opened this issue Dec 15, 2022 · 1 comment

Comments

@maferre1ra
Copy link

Is it possible to add a divider and dropdown-header into a navbar menu (data-navmenu) to combine some menu items.

Something like this?
5529b624-f37b-11e5-858c-56274b594414

@gadenbuie
Copy link
Member

This is a neat idea! We could agument the current data-navmenu="More" with an additional data-navmenu-section attribute. I'd imagine the above could be accomplished with a document like this:

---
title: 'App Title'
output: flexdashboard::flex_dashboard
---

# Plot

# Summary {data-navmenu="More" data-navmenu-section="Summary"}

# Table {data-navmenu="More" data-navmenu-section="Header text"}

We'll consider this for future updates to flexdashboard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants