@velis/dynamicforms
Version:
Data entry boilerplate components and a RESTful API consumer
11 lines • 476 B
TypeScript
/**
* This mixin reports measured dimensions of rendered DOM
* It works in tandem with TableColumnSizer mixin that actually generates the resulting styles
*/
import { Ref } from 'vue';
type OnMeasureCallback = (colName: string, maxWidth: number, maxHeight: number) => void;
export declare function useRenderMeasure(onMeasure: OnMeasureCallback, refs: {
[key: string]: Ref<(HTMLElement | HTMLElement[])>;
}): void;
export {};
//# sourceMappingURL=render-measure.d.ts.map