Skip to content

Commit aed2dba

Browse files
nickstuckobrandyscarney
authored andcommitted
docs(range): add range pin CSS custom properties (ionic-team#19537)
1 parent 3050e9f commit aed2dba

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

core/api.txt

+2
Original file line numberDiff line numberDiff line change
@@ -881,6 +881,8 @@ ion-range,css-prop,--knob-background
881881
ion-range,css-prop,--knob-border-radius
882882
ion-range,css-prop,--knob-box-shadow
883883
ion-range,css-prop,--knob-size
884+
ion-range,css-prop,--pin-background
885+
ion-range,css-prop,--pin-color
884886

885887
ion-refresher,none
886888
ion-refresher,prop,closeDuration,string,'280ms',false,false

core/src/components/range/range.scss

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
* @prop --knob-border-radius: Border radius of the range knob
1515
* @prop --knob-box-shadow: Box shadow of the range knob
1616
* @prop --knob-size: Size of the range knob
17+
* @prop --pin-background: Background of the range pin
18+
* @prop --pin-color: Color of the range pin
1719
*/
1820
--knob-handle-size: calc(var(--knob-size) * 2);
1921

core/src/components/range/readme.md

+2
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,8 @@ export default {
233233
| `--knob-border-radius` | Border radius of the range knob |
234234
| `--knob-box-shadow` | Box shadow of the range knob |
235235
| `--knob-size` | Size of the range knob |
236+
| `--pin-background` | Background of the range pin |
237+
| `--pin-color` | Color of the range pin |
236238

237239

238240
----------------------------------------------

0 commit comments

Comments
 (0)