@sodacore/ui
Version:
Sodacore UI is a powerful JSON-based DSL for describing web pages that can be rendered by a frontend JavaScript framework.
22 lines • 613 B
TypeScript
export default class Layout {
protected areas: string[][];
protected columns: string;
protected rows: string;
protected gap: string | number;
setAreas(areas: string[][]): this;
getAreas(): string[][];
setColumns(columns: string): this;
getColumns(): string;
setRows(rows: string): this;
getRows(): string;
setGap(gap: string | number): this;
getGap(): string | number;
toJSON(): {
areas: string[][];
uniqueAreas: string[];
columns: string;
rows: string;
gap: string | number;
};
}
//# sourceMappingURL=layout.d.ts.map