@ckeditor/ckeditor5-ui
Version:
The UI framework and standard UI library of CKEditor 5.
34 lines (33 loc) • 1.03 kB
TypeScript
/**
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
*/
import { IconView } from '../../icon/iconview.js';
import { ListItemButtonView } from '../../button/listitembuttonview.js';
import type { Locale } from '@ckeditor/ckeditor5-utils';
import '../../../theme/components/dropdown/menu/dropdownmenubutton.css';
/**
* Represents a view for a dropdown menu button.
*/
export declare class DropdownMenuButtonView extends ListItemButtonView {
/**
* An icon that displays an arrow to indicate a direction of the menu.
*/
readonly arrowView: IconView;
/**
* Creates an instance of the dropdown menu button view.
*
* @param locale The localization services instance.
*/
constructor(locale: Locale);
/**
* @inheritDoc
*/
render(): void;
/**
* Creates the arrow view instance.
*
* @private
*/
private _createArrowView;
}