Function: useResize()
function useResize(
editor?,
isSingle?,
autoScrollbar?,
autoScroll?): {
checkScrollBar: DebouncedFunc<() => void>;
resize: () => void;
}
Defined in: submodules/univer/packages/docs-ui/src/views/rich-text-editor/hooks/useResize.ts:26
Parameters
Parameter | Type | Default value |
---|---|---|
editor ? | Editor | undefined |
isSingle ? | boolean | true |
autoScrollbar ? | boolean | undefined |
autoScroll ? | boolean | undefined |
Returns
{
checkScrollBar: DebouncedFunc<() => void>;
resize: () => void;
}