Skip to content

Commit e561173

Browse files
committed
Actually use the loading enum
1 parent 8db5e32 commit e561173

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dom/src/main/scala/org/scalajs/dom/HTMLImageElement.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ abstract class HTMLImageElement extends HTMLElement {
3131
/** A string whose value provides a hint to the user agent on how to handle the loading of the image which is
3232
* currently outside the window's visual viewport.
3333
*/
34-
var loading: String = js.native
34+
var loading: ImageLoadingMode = js.native
3535

3636
/** Reflects the src HTML attribute, containing the URL of the image. */
3737
var src: String = js.native

0 commit comments

Comments
 (0)