File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
src/material-experimental/mdc-slide-toggle Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 7
7
[matRippleTrigger] ="switch "
8
8
[matRippleDisabled] ="disableRipple || disabled "
9
9
[matRippleCentered] ="true "
10
- [matRippleRadius] ="24 "
11
10
[matRippleAnimation] ="_rippleAnimation "> </ div >
12
11
< div class ="mdc-switch__thumb ">
13
12
< input #input class ="mdc-switch__native-control " type ="checkbox "
Original file line number Diff line number Diff line change 48
48
opacity : map-get ($mdc-ripple-dark-ink-opacities , press );
49
49
}
50
50
51
+ .mat-ripple {
52
+ border-radius : 50% ;
53
+ }
54
+
51
55
// Angular Material supports disabling all animations when NoopAnimationsModule is imported.
52
56
// TODO(mmalerba): Look into using MDC's Sass queries to separate the animation styles and
53
57
// conditionally add them. Consider the size cost when deciding whether to switch.
You can’t perform that action at this time.
0 commit comments