Skip to content

Commit

Permalink
fix: fixed typo in the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandrshy committed Aug 9, 2020
1 parent 4fa45ad commit 79901b2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ Keukenhof.init({
closeAttribute: "data-modal-close",
openClass: "is-open",
openingClass: "is-opening",
closingClass: "is-closing";
closingClass: "is-closing",
hasAnimation: true,
isAssignFocus: false,
isFocusInside: false,
Expand All @@ -168,17 +168,17 @@ Opens a modal window with the given selector. The `open()` method has a second o

```js
// With config
Keukenhof.open("#modal", {
openAttribute: "data-modal-open",
closeAttribute: "data-modal-close",
openClass: "is-open",
openingClass: "is-opening",
closingClass: "is-closing";
Keukenhof.open('#modal', {
openAttribute: 'data-modal-open',
closeAttribute: 'data-modal-close',
openClass: 'is-open',
openingClass: 'is-opening',
closingClass: 'is-closing',
hasAnimation: true,
});

// Without config
Keukenhof.open("#modal");
Keukenhof.open('#modal');
```

### close()
Expand Down
4 changes: 2 additions & 2 deletions docs/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ <h4 id="init" class="article__docs">
closeAttribute: "data-modal-close",
openClass: "is-open",
openingClass: "is-opening",
closingClass: "is-closing";
closingClass: "is-closing",
hasAnimation: true,
isAssignFocus: false,
isFocusInside: false,
Expand Down Expand Up @@ -571,7 +571,7 @@ <h4 id="open" class="article__docs">
closeAttribute: "data-modal-close",
openClass: "is-open",
openingClass: "is-opening",
closingClass: "is-closing";
closingClass: "is-closing",
hasAnimation: true,
});

Expand Down

0 comments on commit 79901b2

Please sign in to comment.