Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gitrequests authored Sep 1, 2017
1 parent 7f52243 commit 24be92c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Img-checkbox is a jQuery-based replacement for input checkboxes. It supports ima
**Add figure component**

```html
<figure>
<figure class="imgcheckbox">
<div class="figure-content"><img src="img/Delete.png"></div>
<figcaption><img src="holder.js/50x50"></figcaption>
<label><input type="checkbox" name="name"> Label</label>
Expand All @@ -32,13 +32,13 @@ Img-checkbox is a jQuery-based replacement for input checkboxes. It supports ima
**Activate plugin with default options**

```js
$('figure').imgCheckbox()
$('.imgcheckbox').imgCheckbox()
```

**Or activate plugin with some options**
**Or activate plugin with other options**

```js
$('figure').imgCheckbox({
$('.imgcheckbox').imgCheckbox({
width: 'auto',
height: 'auto',
textColor: 'white',
Expand Down

0 comments on commit 24be92c

Please sign in to comment.