Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 619 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 619 Bytes

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());
    })))
;

sandbox image

install

npm install @naskar/nkui