@progress/kendo-angular-scheduler
Version:
Kendo UI Scheduler Angular - Outlook or Google-style angular scheduler calendar. Full-featured and customizable embedded scheduling from the creator developers trust for professional UI components.
58 lines (57 loc) • 2.08 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 { NumberFormatOptions } from '@progress/kendo-angular-intl';
/**
* Represents the available configuration options for the NumericTextBox components used in the recurrence editor.
*/
export interface NumericTextBoxOptions {
/**
* Specifies if the value is auto-corrected based on the minimum and maximum values
* [see example](slug:precision_numerictextbox).
*/
autoCorrect?: boolean;
/**
* Sets the greatest valid value
* [see example](slug:precision_numerictextbox#toc-value-ranges).
*/
max?: number;
/**
* Sets the smallest valid value
* [see example](slug:precision_numerictextbox#toc-value-ranges).
*/
min?: number;
/**
* Specifies if the NumericTextBox is in a read-only state
* [see example](slug:readonly_numerictextbox).
*/
readonly?: boolean;
/**
* Specifies if the whole value is selected when the NumericTextBox is clicked.
*
* @default true
*/
selectOnFocus?: boolean;
/**
* Specifies if the **Up** and **Down** spin buttons are rendered
* [see example](slug:spinbuttons_numerictextbox).
*/
spinners?: boolean;
/**
* Sets the value used to increment or decrement the component value
* [see example](slug:predefinedsteps_numerictextbox).
*/
step?: number;
/**
* Sets the title of the `input` element of the NumericTextBox.
*/
title?: string;
/**
* Sets the number format used when the NumericTextBox is not focused
* [see example](slug:formats_numerictextbox).
*
* If `format` is `null` or `undefined`, the default format is used.
*/
format: string | NumberFormatOptions | null | undefined;
}