diff --git a/api-generator/components/multiselect.js b/api-generator/components/multiselect.js index 874296e69..5633618d1 100644 --- a/api-generator/components/multiselect.js +++ b/api-generator/components/multiselect.js @@ -160,6 +160,30 @@ const MultiSelectProps = [ type: "string", default: "pi pi-spinner pi-spin", description: "Icon to display in loading state." + }, + { + name: "maxSelectedLabels", + type: "number", + default: "null", + description: "Decides how many selected item labels to show at most." + }, + { + name: "selectedItemsLabel", + type: "string", + default: "{0} items selected", + description: "Label to display after exceeding max selected labels." + }, + { + name: "selectAll", + type: "boolean", + default: "false", + description: "Whether all data is selected." + }, + { + name: "virtualScrollerOptions", + type: "object", + default: "null", + description: "Whether to use the virtualScroller feature. The properties of VirtualScroller component can be used like an object in it." } ]; @@ -211,6 +235,22 @@ const MultiSelectEvents = [ description: "Filter value" } ] + }, + { + name: "selectall-change", + description: "Callback to invoke when all data is selected.", + arguments: [ + { + name: "event.originalEvent", + type: "object", + description: "Browser event" + }, + { + name: "event.checked", + type: "boolean", + description: "Whether all data is selected." + } + ] } ];