From 752b28b62fa2d3ce6b3f04541146480d53056f00 Mon Sep 17 00:00:00 2001 From: wusongqing Date: Mon, 14 Feb 2022 11:08:33 +0800 Subject: [PATCH] udpated docs Signed-off-by: wusongqing --- en/contribute/template/js-template.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/en/contribute/template/js-template.md b/en/contribute/template/js-template.md index e9075f5d26e..4b1a5a91302 100644 --- a/en/contribute/template/js-template.md +++ b/en/contribute/template/js-template.md @@ -67,6 +67,13 @@ Describe the module from its functionalities, use cases, and use suggestions in import call from '@ohos.telephony.call'; ``` +## System Capabilities +> *Writing Instructions* +> +> 3.1 - Mandatory. +> +Example: SystemCapability.BundleManager.BundleFramework + ## Attributes > *Writing Instructions* @@ -135,7 +142,7 @@ Required permission: ohos.permission.XXX (Delete this part if no permission is i | parameterOne | number \| string \| [CustomType](#CustomType) | Yes| Describe the parameter. Provide the value range and recommended value. If there is a fixed format, provide a format example, especially for the URI.
Provide a link for any custom parameter type.| | callback | Callback\> | No| Describe the parameter. For an optional parameter, describe the consequences if it is not specified.
Example: If this parameter is not set, this method unsubscribes from all callbacks corresponding to **type**.| -**Return values**: (Optional. Delete this heading if there is no return value.) +**Return value**: (Optional. Delete this heading if there is no return value.) | Type| Description| | ------------------------------------------ | -------------------------------------------- | @@ -199,7 +206,7 @@ Required permission: ohos.permission.XXX (Delete this part if no permission is i | parameterOne | number \| string \| [CustomType](#CustomType) | Yes| Describe the parameter. Provide the value range and recommended value. If there is a fixed format, provide a format example, especially for the URI.
Provide a link for any custom parameter type.| | callback | Callback\> | No| Describe the parameter. For an optional parameter, describe the consequences if it is not specified.
Example: If this parameter is not set, this method unsubscribes from all callbacks corresponding to **type**.| -**Return values**: (Optional. Delete this heading if there is no return value.) +**Return value**: (Optional. Delete this heading if there is no return value.) | Type| Description| | ------------------------------------------ | -------------------------------------------- | -- Gitee