/*! * 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 */ /** * [[include:core/ui/group/README.md]] * @packageDocumentation * @module ui/group */ import type { IDictionary, IUIButtonState, IUIElement, IUIGroup, IViewBased, ModType } from "../../../types/index"; import { UIElement } from "../element"; export declare class UIGroup extends UIElement implements IUIGroup { readonly options?: IDictionary | undefined; className(): string; getRole(): string; /** * Synchronize mods to all children */ syncMod: boolean; elements: IUIElement[]; /** * All group children */ get allChildren(): IUIElement[]; buttonSize: IUIButtonState['size']; /** * Update all children */ update(): void; /** * Append new element into group */ append(elm: IUIElement, index?: number): this; append(elm: IUIElement, distElement?: string): this; append(elm: IUIElement[], distElement?: string): this; /** @override */ afterSetMod(name: string, value: ModType): void; /** * Allow set another container for the box of all children */ protected appendChildToContainer(childContainer: HTMLElement, index?: number): void; /** * Remove element from group */ remove(elm: IUIElement): this; /** * Clear group */ clear(): this; /** * @param elements - Items of group */ constructor(jodit: T, elements?: Array, options?: IDictionary | undefined); setParentView(view: T): this; /** @override */ destruct(): any; }