View as Markdown

API reference: @salmonui/overlays/dialog

DialogLocaleTextinterface

import type { DialogLocaleText } from '@salmonui/overlays/dialog';
interface DialogLocaleText {
    readonly close?: string | undefined;
    readonly moved?: ((position: DialogPosition) => string) | undefined;
    readonly resized?: ((size: DialogSize) => string) | undefined;
    readonly resize?: string | undefined;
    readonly resizeEdge?: ((edge: DialogResizeEdge) => string) | undefined;
}
DialogLocaleText members (5)
NameSignatureDescription
closeoptionalreadonly close?: string | undefined;

Close button label. Default "Close".

movedoptionalreadonly moved?: ((position: DialogPosition) => string) | undefined;

Live-region announcements of keyboard moves and resizes.

resizedoptionalreadonly resized?: ((size: DialogSize) => string) | undefined;
resizeoptionalreadonly resize?: string | undefined;

Accessible label of the resize handles. Default "Resize".

resizeEdgeoptionalreadonly resizeEdge?: ((edge: DialogResizeEdge) => string) | undefined;

Accessible label of the handle on one edge or corner. Default resize and the edge in words: "Resize (bottom end)".