From 051c86dfd00f2004102fc1ae77283e4a5821879d Mon Sep 17 00:00:00 2001 From: shanshurong Date: Mon, 21 Feb 2022 15:25:01 +0800 Subject: [PATCH] fix barwidth and barheight not support dimension Signed-off-by: shanshurong --- api/@internal/component/ets/tabs.d.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/api/@internal/component/ets/tabs.d.ts b/api/@internal/component/ets/tabs.d.ts index 40592d04d2..dba62cbef6 100644 --- a/api/@internal/component/ets/tabs.d.ts +++ b/api/@internal/component/ets/tabs.d.ts @@ -130,6 +130,18 @@ declare class TabsAttribute extends CommonMethod { */ barHeight(value: number): TabsAttribute; + /** + * Called when the width of the bar graph is set. + * @since 8 + */ + barWidth(value: Length): TabsAttribute; + + /** + * Called when the height of the bar graph is set. + * @since 8 + */ + barHeight(value: Length): TabsAttribute; + /** * Called when the animation duration of the bar graph is set. * @since 7 -- Gitee