Skip to content

Commit 2608788

Browse files
authored
feat(input-range): default range values (#8093)
2 parents be56730 + 50f7b44 commit 2608788

File tree

5 files changed

+2
-2
lines changed

5 files changed

+2
-2
lines changed

packages/components/src/components/input-range/shadow.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,12 +267,12 @@ export class KolInputRange implements InputRangeAPI, FocusableElement {
267267
/**
268268
* Defines the largest possible input value.
269269
*/
270-
@Prop() public _max?: number | NumberString;
270+
@Prop() public _max?: number | NumberString = 100;
271271

272272
/**
273273
* Defines the smallest possible input value.
274274
*/
275-
@Prop() public _min?: number | NumberString;
275+
@Prop() public _min?: number | NumberString = 0;
276276

277277
/**
278278
* Defines the properties for a message rendered as Alert component.
-181 Bytes
Loading
Loading
-181 Bytes
Loading
7 Bytes
Loading

0 commit comments

Comments
 (0)