Implementation code: you can enter the desired event effect in click, the parameter id is the id of the element
init(div) { $("#" + div).css("cursor", "pointer"); $("#" + div).click(() => { }); }, this.init("id");
Implementation code: you can enter the desired event effect in click, the parameter id is the id of the element
init(div) { $("#" + div).css("cursor", "pointer"); $("#" + div).click(() => { }); }, this.init("id");