Update API doc

pull/4649/head
GitHub Actions Bot 2023-10-17 07:47:01 +00:00
parent 366f136639
commit b4eec67ef8
2 changed files with 9 additions and 1 deletions

View File

@ -770,7 +770,7 @@ export default {
},
getSelectedItemsLabel() {
let pattern = /{(.*?)}/;
const selectedItemsLabel = this.$primevue.config.locale.selectionMessage || this.selectedItemsLabel
const selectedItemsLabel = this.$primevue.config.locale.selectionMessage || this.selectedItemsLabel;
if (pattern.test(selectedItemsLabel)) {
return selectedItemsLabel.replace(selectedItemsLabel.match(pattern)[0], this.modelValue.length + '');
}

View File

@ -36572,6 +36572,14 @@
"type": "boolean",
"default": "false",
"description": "When enabled, it removes component related styles in the core."
},
{
"name": "closeOnEscape",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "true",
"description": "Specifies if pressing escape key should hide the dialog."
}
],
"methods": []