Skip to content

Commit

Permalink
fix(core/playground): bind values to checkboxes
Browse files Browse the repository at this point in the history
  • Loading branch information
mihar-22 committed Nov 9, 2020
1 parent 2afb2be commit a2f472e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/components/core/playground/playground.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@ export class Playground {
<input type="text" id="poster" value={this.poster} readonly />
<div class="checkboxes">
<label htmlFor="ui">Custom UI</label>
<input type="checkbox" id="ui" onChange={this.onCustomUiChange.bind(this)} />
<input type="checkbox" id="ui" checked={this.showCustomUI} onChange={this.onCustomUiChange.bind(this)} />
<label htmlFor="theme">Light Theme</label>
<input type="checkbox" id="theme" onChange={this.onThemeChange.bind(this)} />
<input type="checkbox" id="theme" checked={this.theme === 'light'} onChange={this.onThemeChange.bind(this)} />
</div>
</div>
</Host>
Expand Down

0 comments on commit a2f472e

Please sign in to comment.