Skip to content

Latest commit

 

History

History
81 lines (65 loc) · 2.84 KB

File metadata and controls

81 lines (65 loc) · 2.84 KB
title description template last_updated redirect_from related
Actions Refresh Drawer
This document provides details about the Actions Refresh Drawer service in the Components Library.
concept-topic-template
Jan 11, 2024
/docs/marketplace/dev/front-end/202212.0/ui-components-library/actions/actions-refresh-drawer.html
/docs/scos/dev/front-end-development/202204.0/marketplace/ui-components-library/actions/actions-refresh-drawer.html
/docs/scos/dev/front-end-development/202404.0/marketplace/ui-components-library/actions/actions-refresh-drawer.html
title link
Actions
docs/dg/dev/frontend-development/page.version/marketplace/ui-components-library/actions/ui-components-library-actions.html
title link
Actions Close Drawer
docs/dg/dev/frontend-development/page.version/marketplace/ui-components-library/actions/actions-close-drawer.html
title link
Actions Confirmation
docs/dg/dev/frontend-development/page.version/marketplace/ui-components-library/actions/actions-confirmation.html
title link
Actions Drawer
docs/dg/dev/frontend-development/page.version/marketplace/ui-components-library/actions/actions-drawer.html
title link
Actions HTTP
docs/dg/dev/frontend-development/page.version/marketplace/ui-components-library/actions/actions-http.html
title link
Actions Notification
docs/dg/dev/frontend-development/page.version/marketplace/ui-components-library/actions/actions-notification.html
title link
Actions Redirect
docs/dg/dev/frontend-development/page.version/marketplace/ui-components-library/actions/actions-redirect.html
title link
Actions Refresh Parent Table
docs/dg/dev/frontend-development/page.version/marketplace/ui-components-library/actions/actions-refresh-parent-table.html
title link
Actions Refresh Table
docs/dg/dev/frontend-development/page.version/marketplace/ui-components-library/actions/actions-refresh-table.html

This document explains the Actions Refresh Drawer service in the Components Library.

Overview

Actions Refresh Drawer is an Angular Service that refreshes/re-renders the currently opened drawer.

Check out an example usage of the Actions Refresh Drawer.

Service configuration:

  • type—an action type.
<spy-button-action
    [action]="{
        type: 'refresh-drawer',
    }"
>
</spy-button-action>

Service registration

Register the service:

declare module '@spryker/actions' {
    interface ActionsRegistry {
        'refresh-drawer': RefreshDrawerActionHandlerService;
    }
}

@NgModule({
    imports: [
        ActionsModule.withActions({
            'refresh-drawer': RefreshDrawerActionHandlerService,
        }),
    ],
})
export class RootModule {}

Interfaces

Below you can find interfaces for the Actions Refresh Drawer:

export interface RefreshDrawerActionConfig extends ActionConfig {}