!9624 slider 无滑块模式新增接口

Merge pull request !9624 from duanfuqiao/dialog
This commit is contained in:
openharmony_ci 2024-03-22 10:11:33 +00:00 committed by Gitee
commit 32bd4d8e50
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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<SliderAttribute> {
*/
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.
*