2
0
mirror of https://github.com/esiur/iui.git synced 2026-04-04 23:18:21 +00:00
This commit is contained in:
2021-10-21 14:15:22 +03:00
parent fab9e186c9
commit 1e8ae99d39
15 changed files with 339 additions and 84 deletions

View File

@@ -2,6 +2,7 @@
import IUIElement from "../Core/IUIElement.js";
import Tab from "./Tab.js";
import { IUI } from "../Core/IUI.js";
import Check from "./Check.js";
export default IUI.module(class Tabs extends IUIElement {
@@ -117,8 +118,8 @@ export default IUI.module(class Tabs extends IUIElement {
add(item) {
var label = document.createElement("i-check");
label.innerHTML = item.title;
var label = new Check();// document.createElement("i-check");
label.innerHTML = item.caption;
this._ext.insertAdjacentElement("beforebegin", label);