EN
此内容没有您的语言版本,但有英语版本。

lazyload attribute | lazyload property

Lowers the loading priority of a resource.

Syntax

HTML<element lazyload="p" ... >
JavaScript

p = object.lazyload

 

Property values

Type: Integer

0

Default. The resource loads at its default priority.

1

The resource loads after higher priority resources (if any).

Examples


<img src="example.jpg" lazyload="1" />

See also

audio
img
link
script
svg
video
Conceptual
Network prioritization

 

 

显示:
© 2014 Microsoft