Interface DialogButton<T>

interface DialogButton<T> {
    color?: DialogButtonColor;
    text: string;
    value?: T;
}

Type Parameters

  • T

Properties

Properties

Defaults to 'primary', in accordance with the Material Design spec examples.

text: string
value?: T

SlDialogService.open will resolve to this value when the button is clicked. Defaults to text.