Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
johndatserakis committed Sep 2, 2024
1 parent 9c7b2e1 commit cc0a21b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Or, you can include it through the browser.
href="https://unpkg.com/file-upload-with-preview/dist/style.css"
/>

<script src="https://unpkg.com/file-upload-with-preview/dist/file-upload-with-preview.iife.js"></script>
<script src="https://unpkg.com/file-upload-with-preview/dist/index.js"></script>
```

## About
Expand Down Expand Up @@ -90,7 +90,7 @@ If you're importing directly in the browser, use the following instead:
</head>
<body>
<div class="custom-file-container" data-upload-id="my-unique-id"></div>
<script src="https://unpkg.com/file-upload-with-preview/dist/file-upload-with-preview.iife.js"></script>
<script src="https://unpkg.com/file-upload-with-preview/dist/index.js"></script>
</body>
</html>
```
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,5 @@
"style": "./dist/style.css",
"type": "module",
"types": "./dist/index.d.ts",
"version": "6.1.0"
"version": "6.1.1"
}

2 comments on commit cc0a21b

@Maiz07042004
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

@Maiz07042004
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

const upload = new FileUploadWithPreview.FileUploadWithPreview('upload-image',{
multiple:true,
maxFileCount:6
});

Please sign in to comment.