@progress/kendo-angular-editor
Version:
Kendo UI Editor for Angular
30 lines (29 loc) • 1.82 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 { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
import { EditorCommandButton } from '../shared/editor-command-button';
import { EditorLocalizationService } from '../../localization/editor-localization.service';
import { EditorToolsService } from '../tools.service';
import { ProviderService } from '../../common/provider.service';
import * as i0 from "@angular/core";
/**
* A directive which configures an existing `ToolBarButtonComponent` as an Editor **Print** tool
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
* The directive will predefine the SVG icon and `click` event handlers of the button.
*
* > The Editor Print tool is supported in the default [`iframe`](https://www.telerik.com/kendo-angular-ui-develop/components/editor/api/EditorComponent/#toc-iframe) mode only.
*
* @example
* ```html
* <kendo-toolbar-button kendoEditorPrintButton></kendo-toolbar-button>
* ```
*/
export declare class EditorPrintDirective extends EditorCommandButton {
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
ngAfterViewInit(): void;
protected clickHandler(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<EditorPrintDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<EditorPrintDirective, "kendo-toolbar-button[kendoEditorPrintButton]", never, {}, {}, never, never, true, never>;
}