From 16a4c065be12416cf7ed243942ee91656e40c559 Mon Sep 17 00:00:00 2001 From: d00838720 <+dfq80022> Date: Thu, 29 Feb 2024 14:41:51 +0800 Subject: [PATCH] =?UTF-8?q?slider=E6=96=B0=E5=A2=9E=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: duanfuqiao --- api/@internal/component/ets/slider.d.ts | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/api/@internal/component/ets/slider.d.ts b/api/@internal/component/ets/slider.d.ts index 3ade698ef..a259be023 100644 --- a/api/@internal/component/ets/slider.d.ts +++ b/api/@internal/component/ets/slider.d.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021-2023 Huawei Device Co., Ltd. + * Copyright (c) 2021-2024 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -116,6 +116,15 @@ declare enum SliderStyle { * @form */ InSet, + /** + * No slider. + * + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @since 12 + * @form + */ + NONE, } /** @@ -1231,6 +1240,17 @@ declare class SliderAttribute extends CommonMethod { */ trackBorderRadius(value: Length): SliderAttribute; + /** + * Called when the radius of selected part is set. + * + * @param { Dimension } value - the radius of selected part. + * @returns { SliderAttribute } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @since 12 + */ + selectedBorderRadius(value: Dimension): SliderAttribute; + /** * Called when the size of block is set. *