mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #4929 - Add parent param to all pt method options
This commit is contained in:
parent
1a4bba8107
commit
eb00b8ee23
104 changed files with 399 additions and 158 deletions
4
components/lib/accordion/Accordion.d.ts
vendored
4
components/lib/accordion/Accordion.d.ts
vendored
|
@ -31,6 +31,10 @@ export interface AccordionPassThroughMethodOptions {
|
|||
* Defines current inline state.
|
||||
*/
|
||||
state: AccordionState;
|
||||
/**
|
||||
* Defines parent options.
|
||||
*/
|
||||
parent: any;
|
||||
/**
|
||||
* Defines passthrough(pt) options in global config.
|
||||
*/
|
||||
|
|
|
@ -106,6 +106,7 @@ export default {
|
|||
const tabMetaData = {
|
||||
props: tab.props || {},
|
||||
parent: {
|
||||
instance: this,
|
||||
props: this.$props,
|
||||
state: this.$data
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue