A mean component-based user interface library.
More examples can be found here.
var List = new class extends Combo.Component {
_items() {
return this.data.items.map((item) => {
return `
<li>${item}</li>
`;
}).join("");
}
render() {
return `
<ul>
${this._items()}
</ul>
`;
}
}();
List.mount(document.getElementById("root"), {
items: [
"Apple",
"Orange",
"Banana"
]
});
See CONTRIBUTING.md