◆ JSObject() [1/5]
◆ JSObject() [2/5]
Create from existing JSObjectRef from JavaScriptCore C API.
◆ JSObject() [3/5]
Copy constructor (shallow copy, will point to same instance)
◆ ~JSObject()
◆ JSObject() [4/5]
◆ JSObject() [5/5]
◆ context()
Get the bound context for this JSObject (it is cached at creation).
◆ DeleteProperty()
bool DeleteProperty |
( |
JSString | propertyName | ) |
|
◆ HasProperty()
bool HasProperty |
( |
JSString | propertyName | ) |
const |
Check if a property exists.
◆ operator JSObjectRef()
Get the underlying JSObjectRef (JavaScriptCore C API)
◆ operator=()
Assignment (shallow assignment, will point to same instance)
◆ operator[]()
◆ set_context()
Set the JSContext for this JSObject.
- Note
- : JSObjects created from within a JSCallback have a temporary JSContext that is destroyed when the callback returns. You will need to "move" any JSObjects created within these callbacks to the View's main context (call set_context() with the main context) before using them outside the callback.
◆ JSPropertyValue
◆ JSValue
◆ ctx_
◆ instance_
The documentation for this class was generated from the following file: