@progress/kendo-angular-upload
Version:
Kendo UI Angular Upload Component
55 lines (54 loc) • 2.39 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 { ElementRef, Renderer2 } from '@angular/core';
import { LocalizationService } from '@progress/kendo-angular-l10n';
import { DropZoneBase } from './dropzone-base';
import { SVGIcon } from '@progress/kendo-svg-icons';
import * as i0 from "@angular/core";
/**
* Represents the [Kendo UI UploadDropZone component for Angular]({% slug overview_upload %}).
*/
export declare class UploadDropZoneComponent extends DropZoneBase {
private localization;
hostClass: boolean;
get dirAttribute(): string;
/**
* Defines the id of the component.
* It is used to associate it with an existing Upload or FileSelect component.
*/
zoneId: string;
/**
* Defines the name for an existing icon in a Kendo UI theme.
* The icon is rendered inside the DropZone.
*/
icon: string;
/**
* Defines a CSS class or multiple classes separated by spaces,
* which are applied to a span element.
* Allows the usage of custom icons.
*/
iconClass: string;
/**
* Defines an SVGIcon to be rendered inside the DropZone.
* The input can take either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
*/
set svgIcon(icon: SVGIcon);
get svgIcon(): SVGIcon;
private direction;
private localizationChangeSubscription;
private _svgIcon;
constructor(element: ElementRef, renderer: Renderer2, localization: LocalizationService);
/**
* @hidden
*/
textFor(key: string): string;
/**
* @hidden
*/
get iconClasses(): string;
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<UploadDropZoneComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<UploadDropZoneComponent, "kendo-uploaddropzone", ["kendoUploadDropZone"], { "zoneId": { "alias": "zoneId"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconClass": { "alias": "iconClass"; "required": false; }; "svgIcon": { "alias": "svgIcon"; "required": false; }; }, {}, never, ["*"], true, never>;
}