Skip to content

Commit

Permalink
WIP quotes -> backticks
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenneth G. Franqueiro committed Aug 15, 2018
1 parent c9ea47b commit 62325ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/mdc-switch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const switchControl = new MDCSwitch(document.querySelector('.mdc-switch'));

### Initially Disabled Switch

Add the 'mdc-switch--disabled' class to the 'mdc-switch' element, and `disabled` attribute to the `mdc-switch__native-control` element to disable the switch. This logic is handled by the `MDCSwitchFoundation.setDisabled` method, but you'll want to avoid a FOUC by initially adding this class and attribute.
Add the `mdc-switch--disabled` class to the `mdc-switch` element, and the `disabled` attribute to the `mdc-switch__native-control` element to disable the switch. This logic is handled by the `MDCSwitchFoundation.setDisabled` method, but you'll want to avoid a FOUC by initially adding this class and attribute.

```html
<div class="mdc-switch mdc-switch--disabled">
Expand All @@ -88,7 +88,7 @@ Add the 'mdc-switch--disabled' class to the 'mdc-switch' element, and `disabled`

### Initially "On" Switch

Add the 'mdc-switch--checked' class to the 'mdc-switch' element, and `checked` attribute to the `mdc-switch__native-control` element to toggle the switch to "on". This logic is handled by the `MDCSwitchFoundation.setChecked` method, but you'll want to avoid a FOUC by initially adding this class and attribute.
Add the `mdc-switch--checked` class to the `mdc-switch` element, and the `checked` attribute to the `mdc-switch__native-control` element to toggle the switch to "on". This logic is handled by the `MDCSwitchFoundation.setChecked` method, but you'll want to avoid a FOUC by initially adding this class and attribute.

```html
<div class="mdc-switch mdc-switch--checked">
Expand Down

0 comments on commit 62325ac

Please sign in to comment.