Skip to main content
cngx-src documentation

CngxDialogLabels

Interface

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

Import#

import { CngxDialogLabels } from '@cngx/common/dialog'

Description#

The five interaction strings the dialog family renders on its own behalf. Every one is a fallback the consumer cannot reach declaratively: the close affordance only names itself when the trigger has no text of its own, the error fallback only fires when the thrown value is not a string, and the drag handle is labelled imperatively because the directive may promote any element to a handle.

Index#

Instance Properties#

close#string
Readonly

Implicit accessible name of CngxDialogClose when the trigger carries no text.

dragHandle#string
Readonly

aria-label set on a promoted drag handle.

dragHandleRoleDescription#string
Readonly

aria-roledescription set on a promoted drag handle.

dragInstructions#string
Readonly

Visually hidden keyboard-drag instruction the handle is described by.

errorFallback#string
Readonly

Live-region text when a dialog error carries no message of its own.