main
Last change
on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
470 bytes
|
Line | |
---|
1 | export declare type UseMeasureRect = Pick<DOMRectReadOnly, 'x' | 'y' | 'top' | 'left' | 'right' | 'bottom' | 'height' | 'width'>;
|
---|
2 | export declare type UseMeasureRef<E extends Element = Element> = (element: E) => void;
|
---|
3 | export declare type UseMeasureResult<E extends Element = Element> = [UseMeasureRef<E>, UseMeasureRect];
|
---|
4 | declare function useMeasure<E extends Element = Element>(): UseMeasureResult<E>;
|
---|
5 | declare const _default: typeof useMeasure;
|
---|
6 | export default _default;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.