tweakpane-plugin-file-import
Advanced tools
Comparing version 1.0.2 to 1.1.0
{ | ||
"name": "tweakpane-plugin-file-import", | ||
"version": "1.0.2", | ||
"version": "1.1.0", | ||
"description": "A general-purpose and simple file input Tweakpane plugin", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/LuchoTurtle/tweakpane-plugin-file-import", |
@@ -24,3 +24,3 @@ # `tweakpane-plugin-file-import` | ||
> ```sh | ||
> npm i tweakpane-plugin-file-import@0.1.4 | ||
> npm i tweakpane-plugin-file-import@0.2.0 | ||
> ``` | ||
@@ -83,2 +83,3 @@ > | ||
filetypes: ['.png', '.jpg'], | ||
invalidFiletypeMessage: "We can't accept those filetypes!" | ||
}) | ||
@@ -95,2 +96,3 @@ .on('change', (ev) => { | ||
filetypes: ['.png', '.jpg'], | ||
invalidFiletypeMessage: "We can't accept those filetypes!" | ||
}) | ||
@@ -109,5 +111,7 @@ .on('change', (ev) => { | ||
| filetypes | array | Array of valid file extensions. | | ||
| invalidFiletypeMessage | string | String shown when the user tries to upload an invalid filetype. | | ||
## Contributing | ||
@@ -114,0 +118,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
357589
158