@nodegui/svelte-nodegui
Version:
Svelte integration for NodeGUI
17 lines (16 loc) • 1.18 kB
TypeScript
import { NSVElement } from './dom';
declare global {
export class SvelteComponent {
$destroy(): void;
constructor(options: {
target?: NSVElement | Element;
props?: any;
anchor?: NSVElement | Element;
intro?: boolean;
});
$set(props: any): void;
}
}
export declare function svelteNodeGUI(rootElement: typeof SvelteComponent, data: any): Promise<SvelteComponent>;
export { initializeDom, DomTraceCategory, NSVElement } from "./dom";
export { ImageProps, RNImage, AnimatedImageProps, RNAnimatedImage, ViewProps, RNView, CheckBoxProps, RNCheckBox, TextProps, RNText, DialProps, RNDial, LineEditProps, RNLineEdit, WindowProps, RNWindow, ProgressBarProps, RNProgressBar, ComboBoxProps, RNComboBox, ButtonProps, RNButton, SpinBoxProps, RNSpinBox, RadioButtonProps, RNRadioButton, TabProps, RNTab, MenuProps, RNMenu, MenuBarProps, RNMenuBar, PlainTextEditProps, RNPlainTextEdit, SliderProps, RNSlider, SystemTrayIconProps, RNSystemTrayIcon, ActionProps, RNAction, BoxViewProps, RNBoxView, GridViewProps, RNGridView, ScrollAreaProps, RNScrollArea, } from "./dom/react-nodegui/src";