mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-26 14:10:20 +00:00
Add loading attribute to img element (#1699)
Useful for lazy loading: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#loading
This commit is contained in:
parent
028ffad95a
commit
6b7545f60a
1 changed files with 1 additions and 0 deletions
|
@ -827,6 +827,7 @@ builder_constructors! {
|
|||
decoding: ImageDecoding DEFAULT,
|
||||
height: usize DEFAULT,
|
||||
ismap: Bool DEFAULT,
|
||||
loading: String DEFAULT,
|
||||
src: Uri DEFAULT,
|
||||
srcset: String DEFAULT, // FIXME this is much more complicated
|
||||
usemap: String DEFAULT, // FIXME should be a fragment starting with '#'
|
||||
|
|
Loading…
Reference in a new issue