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.

13 lines
711 B

4 months ago
import type { Element } from '../types';
/**
* <zh/>
*
* <en/> Determine whether the given style are the same as the previous ones
* @param target - <zh/> | <en/> Target element
* @param key - <zh/> key | <en/> Cache key
* @param style - <zh/> | <en/> Style attribute
* @returns <zh/> | <en/> Whether to execute the function
* @deprecated <zh/> | <en/> This method is deprecated and does not significantly improve performance
*/
export declare function effect<T extends false | Record<string, any>>(target: Element, key: string, style: T): boolean;