SP.SOD Methods
Applies to: SharePoint Foundation 2010
The following table lists the methods of the SP.SOD class.
Methods
Name |
Description |
---|---|
Executes the specified function in the specified file with the optional arguments. |
|
Ensures that the specified file that contains the specified function is loaded and then runs the specified callback function. |
|
Executes the specified function if the specified event has occurred; otherwise, adds the function to the pending job queue. |
|
Executes the specified function if the file containing it is loaded; otherwise, adds it to the pending job queue. |
|
Records the event and executes any jobs in the pending job queue that are waiting on the event. |
|
Records that the script file is loaded and executes any jobs in the pending job queue that are waiting for the script file to be loaded. |
|
Registers the specified file at the specified URL. |
|
Registers the specified file as a dependency of another file. |
|
Initializes a new instance of the SP.SOD class. |