You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
711 B
15 lines
711 B
/**
|
|
* Popup should follow the steps for each component work correctly:
|
|
* measure - check for the current stretch size
|
|
* align - let component align the position
|
|
* aligned - re-align again in case additional className changed the size
|
|
* afterAlign - choice next step is trigger motion or finished
|
|
* beforeMotion - should reset motion to invisible so that CSSMotion can do normal motion
|
|
* motion - play the motion
|
|
* stable - everything is done
|
|
*/
|
|
declare type PopupStatus = null | 'measure' | 'align' | 'aligned' | 'motion' | 'stable';
|
|
declare type Func = () => void;
|
|
declare const _default: (visible: boolean, doMeasure: Func) => [PopupStatus, (callback?: () => void) => void];
|
|
export default _default;
|