• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# ArkWeb_JavaScriptObject
2
3## Overview
4
5Defines a JavaScript object.
6
7**Since**: 12
8
9**Related module**: [Web](capi-web.md)
10
11**Header file**: [arkweb_type.h](capi-arkweb-type-h.md)
12
13## Summary
14
15### Member Variables
16
17| Name                                                                                       | Description|
18|-------------------------------------------------------------------------------------------| -- |
19| const uint8_t* buffer                                                                     | Pointer to the injected JavaScript code.|
20| size_t size                                                                               | Length of the JavaScript code.|
21| [ArkWeb_OnJavaScriptCallback](capi-arkweb-type-h.md#arkweb_onjavascriptcallback) callback | Callback used when JavaScript execution is complete.|
22| void* userData                                                                            | Pointer to the user data used in a callback.|
23