UNPKG

@progress/kendo-angular-indicators

Version:

Kendo UI Indicators for Angular

71 lines (70 loc) 2.91 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { ElementRef, Renderer2, AfterViewInit } from '@angular/core'; import { LoaderType } from './models/type'; import { LoaderThemeColor } from './models/theme-color'; import { LoaderSize } from './models/size'; import * as i0 from "@angular/core"; /** * Represents the [Kendo UI Loader component for Angular]({% slug overview_loader %}). * Displays a Loader that represents an indeterminate wait time. */ export declare class LoaderComponent implements AfterViewInit { private element; private renderer; hostClass: boolean; /** * Specifies the Loader animation type. * * The possible values are: * - `pulsing` (default) * - `infinite-spinner` * - `converging-spinner` */ set type(type: LoaderType); get type(): LoaderType; /** * Specifies the theme color of the Loader. * * The possible values are: * * `primary` (Default)&mdash;Applies coloring based on primary theme color. * * `secondary`&mdash;Applies coloring based on secondary theme color. * * `tertiary`&mdash; Applies coloring based on tertiary theme color. * * `info`&mdash;Applies coloring based on info theme color. * * `success`&mdash; Applies coloring based on success theme color. * * `warning`&mdash; Applies coloring based on warning theme color. * * `error`&mdash; Applies coloring based on error theme color. * * `dark`&mdash; Applies coloring based on dark theme color. * * `light`&mdash; Applies coloring based on light theme color. * * `inverse`&mdash; Applies coloring based on inverted theme color. * */ set themeColor(themeColor: LoaderThemeColor); get themeColor(): LoaderThemeColor; /** * Specifies the size of the Loader. * * The possible values are: * * `small` * * `medium` (Default) * * `large` * */ set size(size: LoaderSize); get size(): LoaderSize; private _type; private _themeColor; private _size; private loader; constructor(element: ElementRef, renderer: Renderer2); ngAfterViewInit(): void; /** * @hidden */ get segmentCount(): Array<any>; private setLoaderClasses; static ɵfac: i0.ɵɵFactoryDeclaration<LoaderComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<LoaderComponent, "kendo-loader", never, { "type": { "alias": "type"; "required": false; }; "themeColor": { "alias": "themeColor"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>; }