htmlgen: Add lazy loading (#15986)
This commit is contained in:
parent
3e5e029ef8
commit
a8858eb93e
1 changed files with 2 additions and 2 deletions
|
|
@ -333,12 +333,12 @@ macro i*(e: varargs[untyped]): untyped =
|
||||||
|
|
||||||
macro iframe*(e: varargs[untyped]): untyped =
|
macro iframe*(e: varargs[untyped]): untyped =
|
||||||
## Generates the HTML ``iframe`` element.
|
## Generates the HTML ``iframe`` element.
|
||||||
result = xmlCheckedTag(e, "iframe", "src srcdoc name sandbox width height" &
|
result = xmlCheckedTag(e, "iframe", "src srcdoc name sandbox width height loading" &
|
||||||
commonAttr)
|
commonAttr)
|
||||||
|
|
||||||
macro img*(e: varargs[untyped]): untyped =
|
macro img*(e: varargs[untyped]): untyped =
|
||||||
## Generates the HTML ``img`` element.
|
## Generates the HTML ``img`` element.
|
||||||
result = xmlCheckedTag(e, "img", "crossorigin usemap ismap height width" &
|
result = xmlCheckedTag(e, "img", "crossorigin usemap ismap height width loading" &
|
||||||
commonAttr, "src alt", true)
|
commonAttr, "src alt", true)
|
||||||
|
|
||||||
macro input*(e: varargs[untyped]): untyped =
|
macro input*(e: varargs[untyped]): untyped =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue