diff --git a/api/common/@internal/viewmodel.d.ts b/api/common/@internal/viewmodel.d.ts index 5c80a95a2c6706ee2f13cb7dfb167f1d942b6e83..46eba6d51b2f40d50b058a56c27a2b6ce2d82860 100644 --- a/api/common/@internal/viewmodel.d.ts +++ b/api/common/@internal/viewmodel.d.ts @@ -482,6 +482,13 @@ export interface Element { */ getBoundingClientRect(): RectObj; + /** + * Obtains attributes of the element. + * @returns attributes of the element in json string. + * @devices tv, phone, tablet, wearable + */ + getInspector(): string; + /** * If 0.5 is returned, 50% of the current component is visible. * @param radios Scope of Monitoring components. diff --git a/api/phone/@internal/viewmodel.d.ts b/api/phone/@internal/viewmodel.d.ts index cf357da91800da27d3e2315698d94920ba95773b..0710455c8efc44b1eaf789bf5093f15d89cbe578 100644 --- a/api/phone/@internal/viewmodel.d.ts +++ b/api/phone/@internal/viewmodel.d.ts @@ -391,6 +391,12 @@ export interface Element { */ getBoundingClientRect(): RectObj; + /** + * Obtains attributes of the element. + * @returns attributes of the element in json string. + */ + getInspector(): string; + /** * If 0.5 is returned, 50% of the current component is visible. * @param radios Scope of Monitoring components. diff --git a/api/tablet/@internal/viewmodel.d.ts b/api/tablet/@internal/viewmodel.d.ts index d2dfe1c838b4fef2e6b0efc60883ad209fc09ee2..6ef80bb304567d3e44de49af277de413c05a4985 100644 --- a/api/tablet/@internal/viewmodel.d.ts +++ b/api/tablet/@internal/viewmodel.d.ts @@ -390,6 +390,12 @@ export interface Element { */ getBoundingClientRect(): RectObj; + /** + * Obtains attributes of the element. + * @returns attributes of the element in json string. + */ + getInspector(): string; + /** * If 0.5 is returned, 50% of the current component is visible. * @param radios Scope of Monitoring components. diff --git a/api/tv/@internal/viewmodel.d.ts b/api/tv/@internal/viewmodel.d.ts index 4098a8d15f6001cb4aaf3108585f820a3940c442..f52f000195c0913cfb2bc386c0b2ce210f008988 100644 --- a/api/tv/@internal/viewmodel.d.ts +++ b/api/tv/@internal/viewmodel.d.ts @@ -390,6 +390,12 @@ export interface Element { */ getBoundingClientRect(): RectObj; + /** + * Obtains attributes of the element. + * @returns attributes of the element in json string. + */ + getInspector(): string; + /** * If 0.5 is returned, 50% of the current component is visible. * @param radios Scope of Monitoring components. diff --git a/api/wearable/@internal/viewmodel.d.ts b/api/wearable/@internal/viewmodel.d.ts index 0ada64d4189535518016dc7f0cb7c762b18c053a..4ceaed183a7770e4dadf2e262fbd66dfb4ae2041 100644 --- a/api/wearable/@internal/viewmodel.d.ts +++ b/api/wearable/@internal/viewmodel.d.ts @@ -390,6 +390,12 @@ export interface Element { */ getBoundingClientRect(): RectObj; + /** + * Obtains attributes of the element. + * @returns attributes of the element in json string. + */ + getInspector(): string; + /** * If 0.5 is returned, 50% of the current component is visible. * @param radios Scope of Monitoring components.