UNPKG

@progress/kendo-angular-editor

Version:
29 lines (28 loc) 1.79 kB
/**----------------------------------------------------------------------------------------- * 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 { ProviderService } from '../../common/provider.service'; import { EditorToolsService } from '../tools.service'; import * as i0 from "@angular/core"; /** * Configures a ToolBarButtonComponent as an Editor **AddColumnBefore** tool * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)). * The directive sets the SVG icon and `click` event handlers for the button. * The directive also updates the `disabled` state of the button based on the cursor position in the editing area. * * @example * ```html * <kendo-toolbar-button kendoEditorAddColumnBeforeButton></kendo-toolbar-button> * ``` * @remarks * Applied to: {@link ToolBarButtonComponent} */ export declare class EditorAddColumnBeforeButtonDirective extends EditorCommandButton { constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService); static ɵfac: i0.ɵɵFactoryDeclaration<EditorAddColumnBeforeButtonDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<EditorAddColumnBeforeButtonDirective, "kendo-toolbar-button[kendoEditorAddColumnBeforeButton]", never, {}, {}, never, never, true, never>; }