File tree 1 file changed +14
-14
lines changed 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -112,20 +112,7 @@ The `options`-attribute takes an object with the following properties:
112
112
* resize: boolean;
113
113
* initLayout: boolean;
114
114
115
- ### imagesLoaded
116
- > ** NOTE:** Will throw error if global ` imagesLoaded ` not available.
117
-
118
- Delay adding of brick until all images in brick are loaded.
119
- To activate imagesLoaded set ` useImagesLoaded ` to ` true ` .
120
- ``` html
121
- <masonry [useImagesLoaded] =" true" ></masonry >
122
- ```
123
- index.html:
124
- ``` html
125
- <script src =" https://cdnjs.cloudflare.com/ajax/libs/jquery.imagesloaded/4.1.1/imagesloaded.pkgd.min.js" ></script >
126
- ```
127
-
128
- ### Examples
115
+ #### Examples
129
116
130
117
Inline object:
131
118
``` html
@@ -144,6 +131,19 @@ public myOptions: MasonryOptions = {
144
131
<masonry [options] =" myOptions" ></masonry >
145
132
```
146
133
134
+ ### imagesLoaded
135
+ > ** NOTE:** Will throw error if global ` imagesLoaded ` not available.
136
+
137
+ Delay adding of brick until all images in brick are loaded.
138
+ To activate imagesLoaded set ` useImagesLoaded ` to ` true ` .
139
+ ``` html
140
+ <masonry [useImagesLoaded] =" true" ></masonry >
141
+ ```
142
+ index.html:
143
+ ``` html
144
+ <script src =" https://cdnjs.cloudflare.com/ajax/libs/jquery.imagesloaded/4.1.1/imagesloaded.pkgd.min.js" ></script >
145
+ ```
146
+
147
147
## Events
148
148
### layoutComplete: ` EventEmitter<any[]> `
149
149
Triggered after a layout and all positioning transitions have completed.
You can’t perform that action at this time.
0 commit comments