Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
7 lines
361 B
Plaintext
7 lines
361 B
Plaintext
import type { ActiveAnimationType } from '../types';
|
|
/**
|
|
* 动画关闭处理真实关闭状态
|
|
* 通过 onAnimationEnd 回调实现 leaveCallback
|
|
*/
|
|
export default function useAnimationVisible(visible: boolean | undefined, afterClose?: () => void): [realVisible: boolean | undefined, activeAnimation: ActiveAnimationType, onAnimationEnd: () => void];
|