UNPKG

735 BTypeScriptView Raw
1import { ButtonView, LabeledFieldView, View, ViewCollection } from '@ckeditor/ckeditor5-ui';
2import { FocusTracker, KeystrokeHandler, Locale } from '@ckeditor/ckeditor5-utils';
3import LinkCommand from '../linkcommand';
4
5export default class LinkFormView extends View {
6 cancelButtonView: ButtonView;
7 readonly children: ViewCollection;
8 readonly focusTracker: FocusTracker;
9 readonly keystrokes: KeystrokeHandler;
10 saveButtonView: ButtonView;
11 urlInputView: LabeledFieldView;
12
13 constructor(locale: Locale, linkCommand: LinkCommand, protocol?: string);
14 constructor(linkCommand: LinkCommand, protocol?: string);
15 focus(): void;
16 destroy(): void;
17 getDecoratorSwitchesState(): Record<string, boolean>;
18}