replaceEl() {
		this.$el.off("hide", this.onhide);
		if (!this.$el.isConnected || this.$replacement.isConnected) return;
		if (typeof this.onReplace === "function") this.onReplace();
		this.$el.parentElement.replaceChild(this.$replacement, this.$el);
		this.$el.classList.add("no-transition");
	}
Replace current element with a replacement element