diff --git a/en/contribute/template/js-template.md b/en/contribute/template/js-template.md index e9075f5d26e5a2b454bf78e77a280c907355b307..4b1a5a913022a595fd16b25e36ac6249d1252972 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| | ------------------------------------------ | -------------------------------------------- |