UNPKG

tav-ui

Version:
18 lines (17 loc) 683 B
import { type ComputedRef, type Ref } from 'vue'; import { type EditorProps } from '../typings'; export declare function useEditorStatusbar(options: { mergedProps: ComputedRef<EditorProps>; }): { statusbarConfig: ComputedRef<{ statusbar: boolean; statusbarOptions: { /** 左下角元素路径是否显示 */ elementpath: boolean; /** 编辑器宽高是否可变,false|true|'both' */ resize: any; }; }>; updateStatusbarStyle: (e: any, editorMainElRef: Ref<HTMLDivElement | undefined>) => void; addStatusbarAutosaveTip: (e: any, editorMainElRef: Ref<HTMLDivElement | undefined>) => void; };