Skip navigation
TIL about hidden="until-found"
0:00 / 0:11

TIL about hidden="until-found"

Joe Masilotti

@joemasilotti10K followers

Visit on X

17,398 views

TIL about hidden="until-found" Add it to elements that are on the screen but not visible (e.g. on a hidden tab) and the browser will fire a beforematch event. Perfect for Stimulus to listen for and automatically switch tabs!

Comments

Comments from the original post on X (Twitter)

No comments yet