Skip to main content
cngx-src documentation

withDialogLabels

Functioncommon/dialog/configv0.1.0

projects/common/dialog/config/dialog-config.ts

Description#

Override dialog interaction strings. Unset keys keep the English default, and two calls merge rather than replace.

bootstrapApplication(AppComponent, {
  providers: [
    provideDialogConfig(
      withDialogLabels({ close: 'Dialog schließen', dragHandle: 'Dialog verschieben' }),
    ),
  ],
});

Signature#

withDialogLabels(overrides: Partial)

Parameters#

@paramoverridesPartial

Returns#

CngxDialogConfigFeature