ID with ProtoUI

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

Hello,

could you please provide some details about ID? What ID did you mean ? There is not ID in your snippet.

http://webix.com/snippet/61d2f260

Great, thank you :slight_smile: