@progress/kendo-angular-buttons
Version:
Buttons Package for Angular
40 lines (39 loc) • 1.36 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { SVGIcon } from "@progress/kendo-svg-icons";
import { ButtonFillMode, ButtonRounded, ButtonSize, ButtonThemeColor } from "../common/models";
/**
* Defines the settings for the Button.
*/
export interface ButtonSettings {
/**
* When `true`, disables the Button and prevents user interaction.
*/
disabled?: boolean;
/**
* Sets the background and border styles of the Button.
*/
fillMode?: ButtonFillMode;
/**
* Sets the border radius of the Button.
*/
rounded?: ButtonRounded;
/**
* Sets the padding of the Button.
*/
size?: ButtonSize;
/**
* Sets a predefined theme color for the Button. The theme color applies as a background and border color and adjusts the text color.
*/
themeColor?: ButtonThemeColor;
/**
* Sets the name of an existing font icon in the Kendo UI theme.
*/
icon?: string;
/**
* Sets an SVG icon to display inside the Button.
*/
svgIcon?: SVGIcon;
}