Salesforce Lightning Web Component

Salesforce

How to close Screen Quick Action using a Button in Salesforce Lightning Web Component(LWC)?

Sample Code: HTML: <template>     <lightning-quick-action-panel header="My action">         Testing<br/><br/>         <lightning-button variant="brand" label="Close" onclick={closeQuickAction}></lightning-button>     </lightning-quick-action-panel> </template> JavaScript: import { LightningElement, api } from 'lwc'; import { CloseActionScreenEvent } ....