@tarojs/components
Version:
10 lines (9 loc) • 499 B
TypeScript
declare const getClassName: (classList: DOMTokenList, newProps: any, oldProps: any) => string;
declare const isCoveredByReact: (__eventNameSuffix: string) => boolean;
declare const syncEvent: (node: Element & {
__events?: {
[key: string]: (e: Event) => any;
};
}, eventName: string, newEventHandler?: (e: Event) => any) => void;
declare const attachProps: (node: HTMLElement, newProps: any, oldProps?: any) => void;
export { getClassName, isCoveredByReact, syncEvent, attachProps };