fairygui-dom
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

FairyGUI-dom

A GUI Editor&framework for HTML DOM

Official website: www.fairygui.com

Usage

Step 1, we use the editor to create the UI.

Step 2, we only need a little code to display it.

import * as fgui from "fairygui-dom";

async function start() {
    await fgui.UIPackage.loadPackage("assets/Package1");

    let view = fgui.UIPackage.createObject("Package1", "Main");
    view.makeFullScreen();
    fgui.GRoot.inst.addChild(view);
}

start();

Readme

Keywords

none

Package Sidebar

Install

npm i fairygui-dom

Weekly Downloads

9

Version

1.0.0

License

MIT

Unpacked Size

2.48 MB

Total Files

231

Last publish

Collaborators

  • guzhu