UNPKG

@progress/kendo-angular-dialog

Version:
41 lines (40 loc) 1.37 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ /** * Represents the settings for Dialog actions when you open a Dialog through `DialogService`. * * Use the `DialogAction` class to configure action buttons in the Dialog. ([See example.]({% slug api_dialog_dialogservice %}#toc-open)) * */ export class DialogAction { /** * Sets the text of the action button. */ text; /** * Sets the theme color of the action button. The theme color applies to the background, border, and text. */ themeColor; /** * Sets the background and border styles of the action button. */ fillMode; /** * Sets the CSS classes for the action button. Accepts any value supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']). */ cssClass; /** * Sets the [SVG icon](slug:svgicon_list) to display in the action button. */ svgIcon; /** * Sets the name of the [font icon](slug:icon_list) to display in the action button. */ icon; /** * @hidden */ disabled; }