UNPKG

@progress/kendo-angular-editor

Version:
27 lines (26 loc) 1.75 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"; /** * A directive which configures an existing `ToolBarButtonComponent` as an Editor **Underline** tool * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)). * The directive will predefine the SVG icon and `click` event handlers of the button. * In addition, the directive updates the `selected` state of the button according to the cursor position in the editing area. * * @example * ```html * <kendo-toolbar-button kendoEditorUnderlineButton></kendo-toolbar-button> * ``` */ export declare class EditorUnderlineButtonDirective extends EditorCommandButton { constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService); static ɵfac: i0.ɵɵFactoryDeclaration<EditorUnderlineButtonDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<EditorUnderlineButtonDirective, "kendo-toolbar-button[kendoEditorUnderlineButton]", never, {}, {}, never, never, true, never>; }