Click Event of Command Bar in spfx webpart

Copper Contributor

Hi,

I have created a command bar buttons on sharepoint list via spfx webpart through the below link

https://learn.microsoft.com/en-us/sharepoint/dev/spfx/extensions/get-started/building-simple-cmdset-...

At last I should be able to redirect to a page on click of command bar button.

But I am not able to find the click event of command bar button.

Please share your ideas on thoughts to achieve.

Regards,

Sudheer

0 Replies