diff --git a/arkui/napi/native_api.h b/arkui/napi/native_api.h index a45ce8476fc01722462abbd8444fdf8bdbcd1433..2e845206ed1fdecb91c0b94a89e90b509dfe79aa 100644 --- a/arkui/napi/native_api.h +++ b/arkui/napi/native_api.h @@ -16,6 +16,19 @@ #ifndef FOUNDATION_ACE_NAPI_INTERFACES_KITS_NAPI_NATIVE_API_H #define FOUNDATION_ACE_NAPI_INTERFACES_KITS_NAPI_NATIVE_API_H +/** + * @file native_api.h + * + * @brief Provides the NAPI API define. + * + * Node-API insulates addons from changes in the underlying JS engine and allows the modules compiled + * for one major version to run on later major versions without recompilation. + * The OpenHarmony Node-API component optimizes the Node-API implementation and provides interaction with + * underlying engines such as ArkJS. Currently, the OpenHarmony Node-API component does not support all Node-API APIs. + * @kit ArkTS + * @syscap SystemCapability.ArkUI.ArkUI.Napi + * @since 11 + */ #ifndef NAPI_VERSION #define NAPI_VERSION 8 #endif