Closure Library API Documentation
Go to class or file:
module.ModuleLoadCallback
Extends
Class used to encapsulate the callbacks to be called when a module loads.
Useful links
Source Code
Git
Inheritance
goog.module.ModuleLoadCallback
Constructor
goog.module.ModuleLoadCallback(
fn
,
opt_handler
)
Parameters
fn
:
Function
Callback function.
opt_handler
:
Object=
Optional handler under whose scope to execute the callback.
Instance Methods
Public
Protected
Private
Defined in
goog.module.ModuleLoadCallback
abort
()
Abort the callback, but not the actual module load.
code »
execute
(
context
)
Completes the operation and calls the callback function if appropriate.
Arguments:
context
:
*
The module context.
code »
Instance Properties
Defined in
goog.module.ModuleLoadCallback
fn_
:
Callback function.
Code »
handler_
:
Optional handler under whose scope to execute the callback.
Code »
Package module
Package Reference