mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Add $pc[ComponentName] provider to all components
This commit is contained in:
parent
dc84c394cc
commit
d9712379e9
100 changed files with 129 additions and 4 deletions
|
@ -17,6 +17,12 @@ export default {
|
|||
}
|
||||
},
|
||||
style: BaseIconStyle,
|
||||
provide() {
|
||||
return {
|
||||
$pcIcon: this,
|
||||
$parentInstance: this
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
pti() {
|
||||
const isLabelEmpty = ObjectUtils.isEmpty(this.label);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue