Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions page/events/introduction-to-custom-events.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,18 +78,18 @@ Let's make our example a little more interesting. We'll add another room to our

```
<div class="room" id="kitchen">
<div class="lightbulb on"></div>
<div class="switch"></div>
<div class="switch"></div>
<div class="clapper"></div>
<div class="lightbulb on">Kitchen light</div>
<div class="switch">Kitchen switch 1</div>
<div class="switch">Kitchen switch 1</div>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

switch 2?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ping @githubshrek. This PR needs some updates.

<div class="clapper">Kitchen clapper switch</div>
</div>
<div class="room" id="bedroom">
<div class="lightbulb on"></div>
<div class="switch"></div>
<div class="switch"></div>
<div class="clapper"></div>
<div class="lightbulb on">Bedroom light</div>
<div class="switch">Bedroom switch 1</div>
<div class="switch">Bedroom switch 2</div>
<div class="clapper">Bedroom clapper switch</div>
</div>
<div id="master_switch"></div>
<div id="master_switch">Master switch</div>
```

If there are any lights on in the house, we want the master switch to turn all
Expand Down