fix: performance issues due to mouse on header detection

This commit is contained in:
Andrew Bastin
2023-11-08 18:47:40 +05:30
parent 2bd925d441
commit 9d1d369f37
4 changed files with 12 additions and 25 deletions

View File

@@ -20,6 +20,11 @@ export type UIPlatformDef = {
appHeader?: {
paddingTop?: Ref<string>
paddingLeft?: Ref<string>
/**
* A function which is called when the header area of the app receives a click event
*/
onHeaderAreaClick?: () => void
}
onCodemirrorInstanceMount?: (element: HTMLElement) => void