Skip to content

Commit

Permalink
FIX:Render empty content and attributes elements
Browse files Browse the repository at this point in the history
  • Loading branch information
matiaslopezd committed Oct 29, 2020
1 parent 2807d36 commit 7a72771
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 30 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Use iFrameX is really easy, only need do two things:

```js
const iframe = new iFrameX(options);
await iframe.create(); // Asynchronous
iframe.create();
```

## Params
Expand Down Expand Up @@ -165,7 +165,7 @@ const content = {
};

const iframe = new IframeX({content, options});
await iframe.create();
iframe.create();
```

The above example code, create an iframe and when this will render, sent custom event `CustomEventName` with data, that contains an `Object` with `date: new Date()`. (Obviously data is completely customizable)
Expand Down
4 changes: 2 additions & 2 deletions dist/iframex.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7a72771

Please sign in to comment.