Resize Observer API: Chrome 64で追加される新しいJavaScriptのAPI。ウィンドウのリサイズ時に「特定の要素の」サイズが変化した場合に実行する関数を設定することができる。window.onresizeを使う方法と異なりCSSで要素のサイズを決定した結果以前と変わらなかった場合関数が呼ばれないのがポイント
8:24 PM - 14 Dec 2017
0 replies
0 retweets
3 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.