@lynx-js/web-core
Version:
This is an internal experimental package, do not use
6 lines (5 loc) • 333 B
TypeScript
import type { AnimationOperation } from '../../../constants.js';
import type { Rpc } from '@lynx-js/web-worker-rpc';
export declare const createElement: (elementId: string, uiThreadRpc: Rpc) => {
animate(operation: AnimationOperation, id: string, keyframes?: Record<string, any>[], timingOptions?: Record<string, any>): void;
};