UNPKG

@progress/kendo-angular-editor

Version:
28 lines (27 loc) 1.67 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar'; import { EditorCommandDialog } from '../shared/editor-command-dialog'; import { EditorLocalizationService } from '../../localization/editor-localization.service'; import { ProviderService } from '../../common/provider.service'; import { EditorToolsService } from '../tools.service'; import * as i0 from "@angular/core"; /** * Configures a `ToolBarButtonComponent` as an Editor **InsertImage** tool * ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)). * Sets the SVG icon and `click` event handlers of the button. * * @example * ```html * <kendo-toolbar-button kendoEditorInsertImageButton></kendo-toolbar-button> * ``` * @remarks * Applied to: {@link ToolBarButtonComponent} */ export declare class EditorInsertImageButtonDirective extends EditorCommandDialog { constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService); static ɵfac: i0.ɵɵFactoryDeclaration<EditorInsertImageButtonDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<EditorInsertImageButtonDirective, "kendo-toolbar-button[kendoEditorInsertImageButton]", never, {}, {}, never, never, true, never>; }