diff --git a/docs/component/input.md b/docs/component/input.md index f8bb2065977300940dfa6d43a5efff1c7a82f396..7940120f0eb398fd4b986705c64d0dac90deb8eb 100644 --- a/docs/component/input.md +++ b/docs/component/input.md @@ -14,6 +14,8 @@ **Android 平台:** +获取input组件对应的UniElement对象,通过UniElement对象的[getAndroidView](../dom/unielement.md#getandroidview-2)函数获取组件原生view对象 + ```uts //导入安卓原生AppCompatEditText对象 import AppCompatEditText from "androidx.appcompat.widget.AppCompatEditText" diff --git a/docs/component/textarea.md b/docs/component/textarea.md index cebffdc55ab666d0f69df403be68440f7bbce9ed..79c1583f62abdea7396cb3cecf2f86adb3d1c529 100644 --- a/docs/component/textarea.md +++ b/docs/component/textarea.md @@ -14,6 +14,8 @@ **Android 平台:** +获取textarea组件对应的UniElement对象,通过UniElement对象的[getAndroidView](../dom/unielement.md#getandroidview-2)函数获取组件原生view对象 + ```uts //导入安卓原生AppCompatEditText对象 import AppCompatEditText from "androidx.appcompat.widget.AppCompatEditText" diff --git a/docs/component/view.md b/docs/component/view.md index ab67ba2209c220092dbf1250188478284c3726e2..c04a8b334435914c6984380639bd7cda47f8d0e5 100644 --- a/docs/component/view.md +++ b/docs/component/view.md @@ -24,6 +24,8 @@ **Android 平台:** +获取view组件对应的UniElement对象,通过UniElement对象的[getAndroidView](../dom/unielement.md#getandroidview-2)函数获取组件原生view对象 + ```uts //导入安卓原生ViewGroup对象 import ViewGroup from "android.view.ViewGroup"