diff --git a/api/@internal/component/ets/form_component.d.ts b/api/@internal/component/ets/form_component.d.ts index 60ef195aa7e485c5006883c39dc59eb80ac86765..e09b8806ded36d63da2a70721dbbc3f6142a0053 100644 --- a/api/@internal/component/ets/form_component.d.ts +++ b/api/@internal/component/ets/form_component.d.ts @@ -63,9 +63,29 @@ declare enum FormDimension { interface FormComponentInterface { /** * Set a new value. + * @param { number } id - id indicates the formId + * @param { string } name - name indicates the form name + * @param { string } bundle - bundle indicates the form provider's bundle name + * @param { string } ability - ability indicates the form provider's ability name + * @param { string } module - module indicates the form provider's ability name + * @param { FormDimension } [options] - dimension indicates the form size + * @param { boolean } [options] - temporary indicates that if the form is temporary * @since 7 * @systemapi */ + /** + * Set a new value. + * @param { number } id - id indicates the formId + * @param { string } name - name indicates the form name + * @param { string } bundle - bundle indicates the form provider's bundle name + * @param { string } ability - ability indicates the form provider's ability name + * @param { string } module - module indicates the form provider's ability name + * @param { FormDimension } [options] - dimension indicates the form size + * @param { boolean } [options] - temporary indicates that if the form is temporary + * @param { Want } [options] - want indicates the want that host send to form provider + * @since 9 + * @systemapi + */ (value: { id: number; name: string; @@ -74,6 +94,7 @@ interface FormComponentInterface { module: string; dimension?: FormDimension; temporary?: boolean; + want?: import('../api/@ohos.application.Want').default; }): FormComponentAttribute; }