(&self)
| 108 | |
| 109 | impl Switch { |
| 110 | fn classes(&self) -> String { |
| 111 | if self.props.checked { |
| 112 | "mdc-switch mdc-switch--checked".into() |
| 113 | } else { |
| 114 | "mdc-switch mdc-switch".into() |
| 115 | } |
| 116 | } |
| 117 | } |
| 118 | |
| 119 | // aria-checked=true |
nothing calls this directly
no outgoing calls
no test coverage detected