mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 22:17:40 +08:00
feat(range): add neutral point (#17400)
* feat(Range): add neutral point * feat(Range): generate proxies and api * fix(): check positive case in neutralPointChanged * fix(Range): neutralPoint to min if neutralPoint < min * fix(Range): active bar style * fix(Range): tick styling
This commit is contained in:

committed by
Liam DeBeasi

parent
39fbc32348
commit
15acb4be37
12
core/src/components.d.ts
vendored
12
core/src/components.d.ts
vendored
@ -3309,6 +3309,10 @@ export namespace Components {
|
||||
*/
|
||||
'name': string;
|
||||
/**
|
||||
* The neutral point of the range slider. Default: value is `0` or the `min` when `neutralPoint < min` or `max` when `max < neutralPoint`.
|
||||
*/
|
||||
'neutralPoint': number;
|
||||
/**
|
||||
* If `true`, a pin with integer value is shown when the knob is pressed.
|
||||
*/
|
||||
'pin': boolean;
|
||||
@ -3323,7 +3327,7 @@ export namespace Components {
|
||||
/**
|
||||
* the value of the range.
|
||||
*/
|
||||
'value': RangeValue;
|
||||
'value': RangeValue | null;
|
||||
}
|
||||
interface IonRangeAttributes extends StencilHTMLAttributes {
|
||||
/**
|
||||
@ -3359,6 +3363,10 @@ export namespace Components {
|
||||
*/
|
||||
'name'?: string;
|
||||
/**
|
||||
* The neutral point of the range slider. Default: value is `0` or the `min` when `neutralPoint < min` or `max` when `max < neutralPoint`.
|
||||
*/
|
||||
'neutralPoint'?: number;
|
||||
/**
|
||||
* Emitted when the range loses focus.
|
||||
*/
|
||||
'onIonBlur'?: (event: CustomEvent<void>) => void;
|
||||
@ -3385,7 +3393,7 @@ export namespace Components {
|
||||
/**
|
||||
* the value of the range.
|
||||
*/
|
||||
'value'?: RangeValue;
|
||||
'value'?: RangeValue | null;
|
||||
}
|
||||
|
||||
interface IonRefresherContent {
|
||||
|
Reference in New Issue
Block a user