/*! * Jodit Editor (https://xdsoft.net/jodit/) * Released under MIT see LICENSE.txt in the project root for license information. * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net */ /** * @module modules/toolbar/button */ import type { IControlTypeContent, IToolbarButton, IViewBased, Nullable } from "../../../types/index"; import { UIButton } from "../../../core/ui/button/index"; export declare class ToolbarContent extends UIButton implements IToolbarButton { readonly control: IControlTypeContent; readonly target: Nullable; /** @override */ className(): string; /** A toolbar item like `ToolbarButton`: the parent group is a `list`. */ getRole(): string; /** * Arbitrary content is not a toggle button — `aria-pressed` is not * allowed on a `listitem`. */ protected onChangeActivated(): void; /** @override */ update(): void; /** * The content is arbitrary HTML — propagate the disabled state to the * nested form controls (e.g. the file input of the Upload button), * otherwise they stay interactive. */ protected onChangeDisabled(): void; /** @override */ protected createContainer(): HTMLElement; constructor(jodit: T, control: IControlTypeContent, target?: Nullable); }