『PHP入門 クラス編』をリリースしました
【週刊ドットインストール】 『PHP入門 データ構造編』リリース、プログラミング学習の悩みを相談しよう、代表のひとりごと
あなただけの学習ロードマップを作成します 【随時受付中】
'use strict'; { const target = document.querySelector('img'); function callback(entries){ console.log(entries[0]); } const options = { threshold: 0.2, } const observer = new IntersectionObserver(callback, options); observer.observe(target); }