Skip to main content
cngx-src documentation

withCloseOnSuccess

Functioncommon/popover

projects/common/popover/popover-panel.config.ts

Description#

Auto-close the panel after an async action in the footer succeeds.

Signature#

withCloseOnSuccess(delay: number)

Parameters#

@paramdelaynumber= 300
  • Delay in ms before closing. Defaults to 300.

Returns#

PopoverPanelFeature