mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-12-17 20:50:42 +00:00
commit
32bd4d8e50
22
api/@internal/component/ets/slider.d.ts
vendored
22
api/@internal/component/ets/slider.d.ts
vendored
@ -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.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user