Skip to content

Commit

Permalink
docs: add docs for checkbox component
Browse files Browse the repository at this point in the history
  • Loading branch information
sebnitu committed Aug 16, 2020
1 parent 0e59f0d commit e6e19bc
Show file tree
Hide file tree
Showing 5 changed files with 518 additions and 34 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ If you'd like to use Vrembem for prototyping or just want to take it for a test

<!-- Instantiate the component rendered in the document -->
<script>
const modal = vrembem.Modal();
const modal = new vrembem.Modal();
modal.init();
</script>
```
Expand Down Expand Up @@ -122,8 +122,8 @@ Include the component's markup into your project. Use the [online docs](https://

```html
<button data-modal-open="[unique-id]">Modal</button>
<div class="modal" data-modal="[unique-id]">
<div class="modal__dialog">
<div data-modal="[unique-id]" class="modal">
<div data-modal-dialog class="modal__dialog">
<button data-modal-close>Close</button>
...
</div>
Expand Down

0 comments on commit e6e19bc

Please sign in to comment.