Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Provides methods to call events defined in a PCF. For canvas apps, makers configure these events using Power Fx. For model-driven apps, developers describe the events using JavaScript
Available for
Canvas apps and model-driven apps
Syntax
context.events
Methods
event nodes in the manifest file are built as callable methods in the context.events
object.
Example
return (
<Button
onClick={() => {
context.events.OnCustomEvent();
}}
/>
);
Related articles
Power Apps component framework API reference
Power Apps component framework overview