jodit
Version:
Jodit is an awesome and useful wysiwyg editor with filebrowser
37 lines (36 loc) • 1.23 kB
TypeScript
/*!
* 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 ui/button
*/
import type { IDictionary, IUIButton, IUIOption, IViewBased } from "../../../../types/index";
import { UIGroup } from "../../group/group";
export declare class UIButtonGroup extends UIGroup {
readonly options: {
name?: string;
value?: string | boolean | number;
label?: string;
onChange?: (values: IUIOption[]) => void;
options?: IUIOption[];
radio: boolean;
};
elements: IUIButton[];
/** @override */
className(): string;
/** @override */
protected render(options: IDictionary): string;
/** @override */
protected appendChildToContainer(childContainer: HTMLElement): void;
constructor(jodit: IViewBased, options?: {
name?: string;
value?: string | boolean | number;
label?: string;
onChange?: (values: IUIOption[]) => void;
options?: IUIOption[];
radio: boolean;
});
protected select(indexOrValue: IUIOption['value'] | number): void;
}