@antv/g-lite
Advanced tools
Comparing version 1.0.69 to 1.0.70
@@ -6,3 +6,3 @@ import type { GlobalRuntime } from '../global-runtime'; | ||
import type { EventPosition, InteractivePointerEvent, CanvasConfig } from '../types'; | ||
import { AsyncSeriesWaterfallHook, SyncHook, SyncWaterfallHook } from '../utils'; | ||
import { AsyncParallelHook, AsyncSeriesWaterfallHook, SyncHook, SyncWaterfallHook } from '../utils'; | ||
export type RenderingPluginContext = CanvasContext & GlobalRuntime; | ||
@@ -44,2 +44,3 @@ export interface RenderingPlugin { | ||
init: SyncHook<[], void>; | ||
initAsync: AsyncParallelHook<[]>; | ||
/** | ||
@@ -91,3 +92,3 @@ * only dirty object which has sth changed will be rendered | ||
}; | ||
init(): void; | ||
init(callback: () => void): void; | ||
getStats(): { | ||
@@ -94,0 +95,0 @@ /** |
@@ -55,3 +55,3 @@ import type { vec2, vec3 } from 'gl-matrix'; | ||
*/ | ||
pointerEvents?: 'none' | 'auto' | 'stroke' | 'fill' | 'painted' | 'visible' | 'visiblestroke' | 'visiblefill' | 'visiblepainted' | 'all' | CSSGlobalKeywords; | ||
pointerEvents?: 'none' | 'auto' | 'stroke' | 'fill' | 'painted' | 'visible' | 'visiblestroke' | 'visiblefill' | 'visiblepainted' | 'all' | 'non-transparent-pixel' | CSSGlobalKeywords; | ||
/** | ||
@@ -58,0 +58,0 @@ * z-index in CSS |
export declare class AsyncParallelHook<T> { | ||
private callbacks; | ||
getCallbacksNum(): number; | ||
tapPromise(options: string, fn: (...args: T[]) => Promise<void>): void; | ||
@@ -4,0 +5,0 @@ promise(...args: T[]): Promise<void[]>; |
{ | ||
"name": "@antv/g-lite", | ||
"version": "1.0.69", | ||
"version": "1.0.70", | ||
"description": "A core module for rendering engine implements DOM API.", | ||
@@ -53,3 +53,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "913171a90ea08e7e4210b479faaaa0f4271a0af8" | ||
"gitHead": "09b3114354c305562668f22159d9cc35d56c813a" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2390622
58058