From 79f456b315f03095ecb8f184b8c2ef6deb654964 Mon Sep 17 00:00:00 2001 From: keerecles Date: Sat, 8 Oct 2022 16:39:47 +0800 Subject: [PATCH] =?UTF-8?q?eTS=E5=8D=A1=E7=89=87=E5=90=AF=E5=8A=A8?= =?UTF-8?q?=E6=97=B6=E6=94=AF=E6=8C=81=E4=BC=A0=E9=80=92want=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: keerecles Change-Id: Ic4b90fca17f79d19ac01b0095d429a2d1d70fd7d --- .../component/ets/form_component.d.ts | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/api/@internal/component/ets/form_component.d.ts b/api/@internal/component/ets/form_component.d.ts index 60ef195aa7..e09b8806de 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; } -- Gitee