@progress/kendo-angular-inputs
Version:
Kendo UI for Angular Inputs Package - Everything you need to build professional form functionality (Checkbox, ColorGradient, ColorPalette, ColorPicker, FlatColorPicker, FormField, MaskedTextBox, NumericTextBox, RadioButton, RangeSlider, Slider, Switch, Te
34 lines (33 loc) • 1.25 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 { TileSize } from '../models';
/**
* Configures the color palette that opens in the popup.
*/
export interface PaletteSettings {
/**
* Specifies the set of colors.
* Provides a set of predefined palette presets (for example, `office`, `basic`, and `apex`)
* and enables you to implement a custom color palette.
*
* The supported values are:
* * The name of the predefined palette preset (for example, `office`, `basic`, and `apex`).
* * A string with comma-separated colors.
* * A string array.
*/
palette?: string | Array<string>;
/**
* Specifies the number of columns that will be displayed.
*/
columns?: number;
/**
* Specifies the size of a color cell.
*
* The possible values are:
* * `number`
* * `{ width: number, height: number }`
*/
tileSize?: number | TileSize;
}