File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,8 @@ App.prototype.setup = function() {
60
60
61
61
/**
62
62
* Fires once all setup activities have completed.
63
+ *
64
+ * @fires Manager#apploaded
63
65
*/
64
66
App . prototype . loaded = function ( ) {
65
67
// Trigger CSS animations to remove preloader
@@ -74,6 +76,8 @@ App.prototype.loaded = function() {
74
76
75
77
// Clear the loading message interval
76
78
clearInterval ( window . loadingMsgsInt ) ;
79
+
80
+ document . dispatchEvent ( this . manager . apploaded ) ;
77
81
} ;
78
82
79
83
Original file line number Diff line number Diff line change @@ -27,6 +27,10 @@ const Manager = function(app) {
27
27
* @event Manager#appstart
28
28
*/
29
29
this . appstart = new CustomEvent ( "appstart" , { bubbles : true } ) ;
30
+ /**
31
+ * @event Manager#apploaded
32
+ */
33
+ this . apploaded = new CustomEvent ( "apploaded" , { bubbles : true } ) ;
30
34
/**
31
35
* @event Manager#operationadd
32
36
*/
You can’t perform that action at this time.
0 commit comments