2
0
mirror of https://github.com/esiur/iui.git synced 2026-04-04 15:08:21 +00:00
Files
iui/src/UI/RoutesList.js
2021-02-22 11:39:50 +03:00

23 lines
524 B
JavaScript

import IUIElement from "../Core/IUIElement.js";
import { IUI } from "../Core/IUI.js";
export default IUI.module(class RoutesList extends IUIElement {
constructor(properties) {
super(properties, { class: 'routes-list' });
}
create() {
if (!window.router)
return;
var table = document.createElement("i-table");
this.appendChild(table);
for (var i = 0; i < window.router.routes.length; i++) {
// hell
table.add
}
}
});