Merge pull request #117 from mathuo/111-api-improvements

Revert "feat: remove panel.api.focus() from public api"
This commit is contained in:
mathuo 2022-05-22 20:35:06 +01:00 committed by GitHub
commit 7544926d08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,6 +20,7 @@ export interface BasePanelViewExported<T extends PanelApiImpl> {
readonly width: number;
readonly height: number;
readonly params: Record<string, any> | undefined;
focus(): void;
toJSON(): object;
update(event: PanelUpdateEvent): void;
}