UNPKG

@sujalchoudhari/solaris-ui

Version:

A UI framework to create HTML pages with just JavaScript.

21 lines (20 loc) 752 B
import { Component } from "./components"; /** * @class Sloaris * A UI framework to create HTML pages with just JavaScript. * This component is responsible for building the entire UI framework. * @license MIT license * @author Sujal Choudhari <sujalchoudari@gmail.com> */ declare class SolarisUI { static createPage(title: string, url: string, meta?: { [key: string]: string; }, defaultPageTemplateFolderIndex?: 0, defaultBodyTemplateFolderIndex?: 0, defaultHeadTemplateFolderIndex?: 0): Component; /** * Builds the pages in the project. * @param name The name of the project. * @param pages The pages of the project. */ static buildProject(name: string, pages: Component[]): void; } export { SolarisUI, };