uni-echarts
Version:
🪀 适用于uni-app的Apache ECharts组件(仅支持Vue 3)
10 lines (9 loc) • 438 B
TypeScript
import type { MaybeRefOrGetter, Ref } from "vue";
import type { AutoResize, EChartsType } from "../components/uni-echarts/types";
import type { NullableValue } from "../types";
import type { MinifyEcharts } from "./useEcharts";
export declare function useAutoresize(chart: Ref<NullableValue<EChartsType>>, options: {
echarts: MinifyEcharts;
autoresize: MaybeRefOrGetter<AutoResize>;
root: Ref<NullableValue<HTMLElement>>;
}): void;