@dark-engine/platform-desktop
Version:
Dark renderer to desktop platforms like Windows, Linux, macOS via Nodegui and Qt
9 lines (8 loc) • 547 B
TypeScript
import { type Fiber, type VirtualNode, type Callback } from '@dark-engine/core';
import { type NativeElement, TagNativeElement } from '../native-element';
declare function createNativeElement(vNode: VirtualNode): NativeElement;
declare function commit(fiber: Fiber<NativeElement>): void;
declare function finishCommit(): void;
declare function runAtTheEndOfCommit(cb: Callback): void;
declare const toggle: (element: TagNativeElement, isVisible: boolean) => void;
export { createNativeElement, commit, finishCommit, runAtTheEndOfCommit, toggle };