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

Missing documentation for menu separator #1217

Closed
willie68 opened this issue Apr 27, 2021 · 2 comments
Closed

Missing documentation for menu separator #1217

willie68 opened this issue Apr 27, 2021 · 2 comments
Assignees
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone

Comments

@willie68
Copy link

I'm submitting a ... (check one with "x")

[ ] bug report => Search github for a similar issue or PR before submitting
[x] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primevue/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=110

What is the motivation / use case for changing the behavior?
Just missing a documentation how to add a separator into a menu

Please tell us about your environment:
not needed

When you dig thru the source you will see, that simply

        {
          separator: true,
        },

as a menuitem will do the trick. But it's nowhere documented. Should be very easy to document and helpful.

@cagataycivici cagataycivici changed the title Missing documenttion for menu separator Missing documentation for menu separator May 10, 2021
@cagataycivici cagataycivici added Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add priority - medium labels May 10, 2021
@cagataycivici cagataycivici added this to the 3.4.1 milestone May 10, 2021
@cagataycivici cagataycivici self-assigned this May 10, 2021
@willie68
Copy link
Author

Great, thanks.

@notflip
Copy link

notflip commented Jan 17, 2024

@willie68 It seems as if this separator is only meant for mobile menu's, since it has a my-1 and a border-t, I mistakenly thought it could be used as a separator for a horizontal menu as well, what was your use case?

@cagataycivici The separator is also not mentioned on the passthrough doc: https://primevue.org/menubar/#pt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Projects
None yet
Development

No branches or pull requests

3 participants