@visactor/vrender-core
Version:
```typescript import { xxx } from '@visactor/vrender-core'; ```
14 lines (13 loc) • 503 B
TypeScript
export declare enum UpdateCategory {
NONE = 0,
PAINT = 1,
SHAPE = 2,
BOUNDS = 4,
TRANSFORM = 8,
LAYOUT = 16,
PICK = 32
}
export declare const ATTRIBUTE_CATEGORY: Record<string, UpdateCategory>;
export declare function classifyAttributeDelta(key: string, prev: unknown, next: unknown): UpdateCategory;
export declare function classifyAffectedKeyConservatively(key: string): UpdateCategory;
export declare function classifyAffectedKeys(keys: Iterable<string>): UpdateCategory;