Skip to content

Commit e5cba05

Browse files
committed
feat(loadingView): add setContent method
1 parent cd3d932 commit e5cba05

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

js/views/loadingView.js

+5
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@
4545
window.clearTimeout(this._showDelayTimeout);
4646

4747
this.el.classList.remove('active');
48+
},
49+
setContent: function(html) {
50+
if (this._loadingBox) {
51+
this._loadingBox.innerHTML = html || '';
52+
}
4853
}
4954
});
5055

0 commit comments

Comments
 (0)