메소드 | 설명 | |
---|---|---|
IsDeclared ( string url ) : bool |
Determines whether a SCRIPT block with the specified url exists in the DOM.
|
|
IsLibraryLoaded ( ScriptLibrary library ) : bool |
Determines whether the specified library has been loaded.
|
|
IsLoaded ( string url ) : bool |
Determines whether the specified URL has been loaded (either via one of the Load methods, or is decalred within the page).
|
|
Load ( string url, AjaxCallback callback ) : void |
Loads the specified SCRIPT file. This passes execution to 'jQuery.GetScript' but keep track of the URL as being loaded so future checks to IsLoaded will report the script is in existence on the client.
|
|
LoadLibrary ( ScriptLibrary library, System.Action callback ) : void |
Loads the specified library.
|
메소드 | 설명 | |
---|---|---|
CacheUrl ( string url ) : void | ||
FileName ( string name, bool hasDebug ) : string | ||
Url ( string path, string fileName, bool debugVersion ) : string |
Retrieves the URL of a script.
|
public IsDeclared ( string url ) : bool | ||
url | string | The URL of the script block to look for. |
리턴 | bool |
public IsLibraryLoaded ( ScriptLibrary library ) : bool | ||
library | ScriptLibrary | The library to look for. |
리턴 | bool |
public Load ( string url, AjaxCallback callback ) : void | ||
url | string | The URL of the SCRIPT file to load. |
callback | AjaxCallback | Callback to invoke upon completion. |
리턴 | void |
public LoadLibrary ( ScriptLibrary library, System.Action callback ) : void | ||
library | ScriptLibrary | Flag indicating the library to load. |
callback | System.Action | Callback to invoke upon completion. |
리턴 | void |