vj4/ui/components/dialog/DomDialog.js
Function _show
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async _show() {
this.$dom.css('z-index', zIndexManager.getNext());
this.$dom.trigger('vjDomDialogShow');
this.isAnimating = true;
Function _hide
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async _hide() {
this.$dom.trigger('vjDomDialogHide');
this.isAnimating = true;
$(document).off(`keyup.${this.eventNS}`);