-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Add ptOptions
property to all components
#4384
Labels
Type: New Feature
Issue contains a new feature or new component request
Milestone
Comments
mertsincan
added
the
Type: New Feature
Issue contains a new feature or new component request
label
Sep 4, 2023
mertsincan
added a commit
that referenced
this issue
Sep 4, 2023
Last commit: 91b27d7 |
Hi @mertsincan @tugcekucukoglu <Menubar
:pt-options="{ mergeProps: true }"
:pt="{
root: { class: 'some-class' },
label: { class: 'some-class' },
menu: {
class: 'menu-for-ul-class'
}
}"
> But the render like this, not merge <ul class="menu-for-ul-class" data-pc-section="menu" role="menubar" tabindex="0" >...</ul> I write like this, but the render is same <Menubar
:pt-options="{ mergeProps: true }"
:pt="{
root: { class: 'some-class' },
label: { class: 'some-class' },
menu: {
class: 'menu-for-ul-class',
ptOptions: {
mergeProps: true
}
}
}"
> About menu pt in menubar I refer on this documentation MenuBar |
@adiramardiani I think this issue has already been fixed in the latest version. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Used to configure pass through options of the component.
:ptOptions="{ mergeSections: true, mergeProps: false }"
Similar to https://primevue.org/passthrough/#usepassthrough
The text was updated successfully, but these errors were encountered: