@ckeditor/ckeditor5-ai
Version:
AI features for CKEditor 5.
45 lines (44 loc) • 1.05 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
*/
/**
* @module ai/aitabs/tabs/tabpanelview
*/
import { View, type ViewCollection } from 'ckeditor5/src/ui.js';
import { type ArrayOrItem, type Locale } from 'ckeditor5/src/utils.js';
/**
* A panel that contains the content of a tab in the tabs view component.
*/
export declare class TabPanelView extends View {
/**
* An additional CSS class added to the {@link #element}.
*
* @observable
*/
class?: string;
/**
* A collection of child views.
*/
children: ViewCollection;
/**
* Whether the panel is visible.
*
* @observable
*/
isVisible: boolean;
/**
* @inheritDoc
*/
constructor(locale?: Locale, options?: {
class?: ArrayOrItem<string>;
});
/**
* Shows the panel.
*/
show(): void;
/**
* Hides the panel.
*/
hide(): void;
}