@aimake/nanod
Version:
## 设计模式 NANO DESIGN 是面向于企业级中台化应用的解决方案。服务于 ToB 和 ToE 类型的单页应用,应用于各产品中从而产出了一套设计及前端规范。
25 lines (24 loc) • 839 B
TypeScript
import * as React from 'react';
export default class Wave extends React.Component<{
insertExtraNode?: boolean;
}> {
private instance?;
private extraNode;
private clickWaveTimeoutId;
private animationStartId;
private animationStart;
private destroy;
isNotGrey(color: string): boolean;
onClick: (node: HTMLElement, waveColor: string) => void;
bindAnimationEvent: (node: HTMLElement) => {
cancel: () => void;
} | undefined;
getAttributeName(): "ant-click-animating" | "ant-click-animating-without-extra-node";
resetEffect(node: HTMLElement): void;
onTransitionStart: (e: AnimationEvent) => void;
onTransitionEnd: (e: AnimationEvent) => void;
removeExtraStyleNode(): void;
componentDidMount(): void;
componentWillUnmount(): void;
render(): React.ReactNode;
}