Skip to content

Loading images eager for above the fold images #13

Closed Answered by johannschopplich
felixranesberger asked this question in Q&A
Discussion options

You must be logged in to vote

Sure, this should be working. In the end, any valid selector will work. It will be passed into this for..of loop:

for (const image of toElementArray<T>(selectorsOrElements)) {

Have you tested this? Can you provide more information?

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@felixranesberger
Comment options

@johannschopplich
Comment options

Answer selected by felixranesberger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants