From 3f658557146969850299205da014b240c50a4373 Mon Sep 17 00:00:00 2001 From: shawn_he Date: Fri, 29 Apr 2022 18:09:12 +0800 Subject: [PATCH] update docs Signed-off-by: shawn_he --- en/application-dev/dfx/hiappevent-guidelines.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/en/application-dev/dfx/hiappevent-guidelines.md b/en/application-dev/dfx/hiappevent-guidelines.md index 13c782e5ac..17c5998788 100644 --- a/en/application-dev/dfx/hiappevent-guidelines.md +++ b/en/application-dev/dfx/hiappevent-guidelines.md @@ -21,7 +21,7 @@ When an asynchronous callback is used, the return value can be processed directl | API | Return Value | Description | | ------------------------------ | ------------ | ------------------------------------------------------------ | -| configure(ConfigOption config) | boolean | Sets the configuration options for application event logging.
The value **true** indicates that the operation is successful, and value **false** indicates the opposite. | +| configure(ConfigOption config) | boolean | Sets the configuration options for application event logging.
The value **true** indicates that the operation is successful, and value **false** indicates the opposite. | ## How to Develop @@ -69,4 +69,10 @@ In this example, an application event is logged after the application startup ex } ``` -2. Tap the run button on the application UI to run the project. \ No newline at end of file +2. Tap the run button on the application UI to run the project. + +## Samples + +The following sample is provided to help you better understand how to develop the application event logging feature: + +- [`JsDotTest`: Event Logging Test (JavaScript) (API 7)](https://gitee.com/openharmony/app_samples/tree/master/DFX/JsDotTest) -- GitLab