getInputNode

gets the HTML element related to the component

HTMLButtonElement getInputNode();
HTMLButtonElementthe component HTML element

Example

webix.ui({
    container:"box",
    view:"form", 
    elements:[
        { view:"text",   id:"f1", label:"Email" },
        { view:"text",   id:"f2", label:"Password", type:"password" },
        { view:"button", id:"b1", value:"Login",  css:"webix_primary" }
    ]
});
 
$$("b1").getInputNode();
//-> <button type="button" class="webix_button">Login</button>

Details

Dimension you get equal to library defauls defined for a standard button. They can be as well set in JS object:

{ view:"button", id:"b1", value:"Login",  width: 300, height: 50 }

Uploader is a JS button in its essence.

See also
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.