mirror of https://github.com/abpframework/abp.git
1 changed files with 18 additions and 0 deletions
@ -0,0 +1,18 @@ |
|||||
|
var abp = abp || {}; |
||||
|
(function ($) { |
||||
|
|
||||
|
if (!$) { |
||||
|
return; |
||||
|
} |
||||
|
|
||||
|
abp.dom = abp.dom || {}; |
||||
|
|
||||
|
abp.dom.onElementLoaded = function (callback) { |
||||
|
abp.event.on('abp.dom.elementLoaded', callback); |
||||
|
}; |
||||
|
|
||||
|
abp.dom.elementLoaded = function(args) { |
||||
|
abp.event.trigger('abp.dom.elementLoaded', args); |
||||
|
} |
||||
|
|
||||
|
})(jQuery); |
||||
Loading…
Reference in new issue