0.0.9 • Published 6 years ago
@naskar/nkui v0.0.9
nkui - @naskar/nkui
Create complex components using the simple component without performance issues using typescrypt.
example
let ui = new UIX();
let username = ui.field().label('Username');
let password = ui.field().label('Password').password();
return ui.item().add(ui.vertical()
.add(username)
.add(password)
.add(ui.button().primary().text('Login').click(() => {
this.apiLogin(username.value(), password.value());
})))
;
install
npm install @naskar/nkui