From 71f7d76083f8e69fb4b8c15211921f0812757ea2 Mon Sep 17 00:00:00 2001 From: shanshurong Date: Fri, 11 Feb 2022 11:26:30 +0800 Subject: [PATCH] add trackThickness dts for slider Signed-off-by: shanshurong --- api/@internal/component/ets/slider.d.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/api/@internal/component/ets/slider.d.ts b/api/@internal/component/ets/slider.d.ts index fbbca1732e..3bcfb19991 100644 --- a/api/@internal/component/ets/slider.d.ts +++ b/api/@internal/component/ets/slider.d.ts @@ -177,6 +177,13 @@ declare class SliderAttribute extends CommonMethod { */ showTips(value: boolean): SliderAttribute; + /** + * Called when the thickness of track is set. + * @devices phone, tablet, car + * @since 8 + */ + trackThickness(value: Length): SliderAttribute; + /** * Called when the selection value changes. * @devices phone, tablet, car -- Gitee