![]() |
API
0.9.7
|
#import <CPWebScriptObject.h>
Instance Methods | |
(id) | - callWebScriptMethod:withArguments: |
(id) | - evaluateWebScript: |
(id) | - initWithWindow: |
(Window) | - window |
A CPWebScriptObject is an Objective-J wrapper around a scripting object.
Definition at line 2 of file CPWebScriptObject.h.
|
implementation |
Call a method with arguments on the receiver.
methodName | - The method that should be called. |
args | - An array of arguments to pass to the method call. |
Definition at line 956 of file CPWebView.j.
|
implementation |
Evaluates a string of javascript and returns the result.
script | - The script to run. |
Definition at line 978 of file CPWebView.j.
|
implementation |
Initializes the scripting object with the scripting Window object.
Definition at line 940 of file CPWebView.j.
|
implementation |
Returns the receivers Window object.
Definition at line 995 of file CPWebView.j.