![]() |
API 0.9.5
|
#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.
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 931 of file CPWebView.j.
- (id) evaluateWebScript: | (CPString) | script |
Evaluates a string of javascript and returns the result.
script | - The script to run. |
Definition at line 950 of file CPWebView.j.
- (id) initWithWindow: | (Window) | aWindow |
Initializes the scripting object with the scripting Window object.
Definition at line 916 of file CPWebView.j.
- (Window) window |
Returns the receivers Window object.
Definition at line 963 of file CPWebView.j.