ziko
Version:
a versatile javaScript framework offering a rich set of UI components, advanced mathematical utilities, reactivity, animations, client side routing and graphics capabilities
20 lines • 504 B
JavaScript
import ZikoUIElement from "../../ZikoUIElement";
import { ZikoUIInputOption } from "../Inputs/__helpers__";
class ZikoUISelect extends ZikoUIElement {
constructor(){
super();
this.element=document?.createElement("select");
}
addOptions(...options) {
options.map(n => this.append(new ZikoUIInputOption(n)));
return this;
}
get isSelect(){
return true;
}
}
const select=()=>new ZikoUISelect()
export{
select,
ZikoUISelect
}