@needle-tools/engine
Version:
Needle Engine is a web-based runtime for 3D apps. It runs on your machine for development with great integrations into editors like Unity or Blender - and can be deployed onto any device! It is flexible, extensible and networking and XR are built-in.
26 lines (25 loc) • 783 B
TypeScript
declare global {
interface HTMLElementTagNameMap {
"needle-logo-element": NeedleLogoElement;
}
}
/**
* Needle logo web component used in the hosting UI (small, compact logo or full)
* @element needle-logo-element
*/
export declare class NeedleLogoElement extends HTMLElement {
static get elementName(): string;
static create(): NeedleLogoElement;
private _didInitialize;
constructor();
private initializeDom;
private ensureInitialized;
connectedCallback(): void;
private _root;
private wrapper;
private logoElement;
/** Show or hide the logo element (used by the menu) */
setLogoVisible(val: boolean): void;
/** Switch the logo between full and compact versions */
setType(type: "full" | "compact"): void;
}