You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove option to lazy-load images
Lazy-loading option is introduced through the 'eager' prop in and components.
Images are loaded as scrolling occurs, resulting in inaccurate scrolling as seen in issue #2364.
Let's remove 'eager' prop from and components
All images are now loaded eagerly.
Copy file name to clipboardExpand all lines: docs/userGuide/syntax/annotations.md
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -145,7 +145,6 @@ This is effectively the same as the options used for the [picture](#pictures) co
145
145
| src |`string`||**This must be specified.**<br>The URL of the image.<br>The URL can be specified as absolute or relative references. More info in: _[Intra-Site Links]({{baseUrl}}/userGuide/formattingContents.html#intraSiteLinks)_|
146
146
| height |`string`|`''`| The height of the image in pixels. |
147
147
| width |`string`|`''`| The width of the image in pixels.<br>If both width and height are specified, width takes priority over height. It is to maintain the image's aspect ratio. |
148
-
| eager |`boolean`| false | The `<pic>` component lazy loads its images by default.<br>If you want to eagerly load the images, simply specify this attribute. |
@@ -22,7 +18,6 @@ alt | `string` | | **This must be specified.**<br>The alternative text of the im
22
18
height | `string` | | The height of the image in pixels.
23
19
src | `string` | | **This must be specified.**<br>The URL of the image.<br>The URL can be specified as absolute or relative references. More info in: _[Intra-Site Links]({{baseUrl}}/userGuide/formattingContents.html#intraSiteLinks)_
24
20
width | `string` | | The width of the image in pixels.<br>If both width and height are specified, width takes priority over height. It is to maintain the image's aspect ratio.
25
-
eager | `boolean` | false | The `<pic>` component lazy loads its images by default.<br>If you want to eagerly load the images, simply specify this attribute.
0 commit comments