harmony 鸿蒙JSVM_PropertyDescriptor
JSVM_PropertyDescriptor
Overview
Property descriptor.
Since: 11
Related module: JSVM
Summary
Member Variables
Name | Description |
---|---|
const char * utf8name | Property key value, which is an optional character string in UTF8 encoding. Either utf8name or name must be provided for a property. |
JSVM_Value name | Optional JSVM_Value, which points to the JavaScript string or symbol used as the property key. Either utf8name or name must be provided for a property. |
JSVM_Callback method | Method as the value property of the property descriptor object. |
JSVM_Callback getter | Callback for getting a property. |
JSVM_Callback setter | Callback for setting a property. |
JSVM_Value value | Value retrieved by getter of the data property. |
JSVM_PropertyAttributes attributes | Attributes associated with a specific property. |
Member Variable Description
attributes
JSVM_PropertyAttributes JSVM_PropertyDescriptor::attributes
Description Attributes associated with a specific property.
getter
JSVM_Callback JSVM_PropertyDescriptor::getter
Description Callback for getting a property.
method
JSVM_Callback JSVM_PropertyDescriptor::method
Description Method as the value property of the property descriptor object.
name
JSVM_Value JSVM_PropertyDescriptor::name
Description Optional JSVM_Value, which points to the JavaScript string or symbol used as the property key. Either utf8name or name must be provided for a property.
setter
JSVM_Callback JSVM_PropertyDescriptor::setter
Description Callback for setting a property.
utf8name
const char* JSVM_PropertyDescriptor::utf8name
Description Property key value, which is an optional character string in UTF8 encoding. Either utf8name or name must be provided for a property.
value
JSVM_Value JSVM_PropertyDescriptor::value
Description Value retrieved by getter of the data property.
你可能感兴趣的鸿蒙文章
harmony 鸿蒙JSVM_CreateVMOptions
harmony 鸿蒙JSVM_ExtendedErrorInfo
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦