Function: MnOnPopulateQuery
▸ MnOnPopulateQuery(name
): (target
: any
, key
: any
, descriptor
: PropertyDescriptor
) => void
Decorator that marks a method as an event handler for populate query event.
This event is fired when a command bar menu need to be populated with its commands.
Remarks
Available on pages: Record and List.
Registration: Manual registration only.
You can use Ribbon Workbench
to register this event or the Command Bar Editor of Power Apps.
Parameters
Name | Type | Description |
---|---|---|
name | ValueOrConfigPropertyMapper <string > | Name of the command bar menu or callback function that returns the name of the command bar menu from the component configuration. |
Returns
fn
▸ (target
, key
, descriptor
): void
Parameters
Name | Type |
---|---|
target | any |
key | any |
descriptor | PropertyDescriptor |
Returns
void