From 3c3f903c349702a1c6e8102bb068aac354fae258 Mon Sep 17 00:00:00 2001 From: shanshurong Date: Sat, 29 Jan 2022 16:13:56 +0800 Subject: [PATCH] add slider thickness dts. 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 ff35cd0559..e1600e84ce 100644 --- a/api/@internal/component/ets/slider.d.ts +++ b/api/@internal/component/ets/slider.d.ts @@ -165,6 +165,13 @@ declare class SliderAttribute extends CommonMethod { */ showTips(value: boolean): SliderAttribute; + /** + * Called when the thickness of track is set. + * @devices phone, tablet, car + * @since 8 + */ + thickness(value: Length): SliderAttribute; + /** * Called when the selection value changes. * @devices phone, tablet, car -- Gitee