masonry-simple 1.1.0 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -4
- package/package.json +3 -3
- package/src/images/960_1000.jpg +0 -0
- package/src/images/960_1360.jpg +0 -0
- package/src/images/960_640.jpg +0 -0
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
[](https://github.com/ux-ui-pro/masonry-simple)
|
|
8
8
|
[](https://www.npmjs.org/package/masonry-simple)
|
|
9
9
|
|
|
10
|
-
<sup><a href="https://bundlephobia.com/package/masonry-simple">
|
|
10
|
+
<sup><a href="https://bundlephobia.com/package/masonry-simple">500B gzipped</a></sup>
|
|
11
11
|
<h3><a href="https://codepen.io/ux-ui/pen/poxGEqX">Demo</a></h3>
|
|
12
12
|
|
|
13
13
|
</div>
|
|
@@ -34,8 +34,7 @@ import MasonrySimple from 'masonry-simple'
|
|
|
34
34
|
const masonry = new MasonrySimple()
|
|
35
35
|
|
|
36
36
|
masonry.options({
|
|
37
|
-
container: '.masonry'
|
|
38
|
-
timeout: 200
|
|
37
|
+
container: '.masonry'
|
|
39
38
|
})
|
|
40
39
|
```
|
|
41
40
|
```HTML
|
|
@@ -55,7 +54,6 @@ masonry.options({
|
|
|
55
54
|
| Arg | Default | Description |
|
|
56
55
|
| --- | --- | --- |
|
|
57
56
|
| `container` | `'.masonry'` | The HTML class of the element inside which the grid elements will be located. |
|
|
58
|
-
| `debounce` | `200` | Sets the delay when resizing the browser window. `0` — disables the delay and allows the grid to rebuild faster. |
|
|
59
57
|
<br>
|
|
60
58
|
|
|
61
59
|
### License
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "masonry-simple",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "Responsive masonry grid",
|
|
5
5
|
"author": "ux-ui.pro",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
|
-
"url": "git+https://github.com/ux-ui-pro/
|
|
9
|
+
"url": "git+https://github.com/ux-ui-pro/masonry-simple.git"
|
|
10
10
|
},
|
|
11
11
|
"bugs": {
|
|
12
|
-
"url": "https://github.com/ux-ui-pro/
|
|
12
|
+
"url": "https://github.com/ux-ui-pro/masonry-simple/issues"
|
|
13
13
|
},
|
|
14
14
|
"source": "src/index.js",
|
|
15
15
|
"main": "dist/index.js",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|