mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 05:58:26 +08:00
docs(range): correct input types
Closes #10184 corrected type of two input properties, 'snaps' and 'pin'. were marked as number but they're boolean.
This commit is contained in:

committed by
mhartington

parent
aadf931268
commit
ed8b6b57bb
@ -216,7 +216,7 @@ export class Range extends Ion implements AfterViewInit, ControlValueAccessor, O
|
||||
}
|
||||
|
||||
/**
|
||||
* @input {number} If true, the knob snaps to tick marks evenly spaced based
|
||||
* @input {boolean} If true, the knob snaps to tick marks evenly spaced based
|
||||
* on the step property value. Defaults to `false`.
|
||||
*/
|
||||
@Input()
|
||||
@ -228,7 +228,7 @@ export class Range extends Ion implements AfterViewInit, ControlValueAccessor, O
|
||||
}
|
||||
|
||||
/**
|
||||
* @input {number} If true, a pin with integer value is shown when the knob
|
||||
* @input {boolean} If true, a pin with integer value is shown when the knob
|
||||
* is pressed. Defaults to `false`.
|
||||
*/
|
||||
@Input()
|
||||
|
Reference in New Issue
Block a user