Hello Folks,
the ID do not work with ProtoUI.
My Code is simple: I want that the img created with protoUI get an ID.
webix.protoUI({
name: "card-img",
$init: function() {
var img = webix.html.create("img", {
src: "img",
class: "card-img--minMaxWidth card-img--minMaxHeigh"
});
this.$view.innerHTML = img.outerHTML;
},
defaults: {
minWidth: 100,
maxWidth: 100,
maxHeight: 150,
minHeight: 150
},
}, webix.ui.view);