Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
パネルの表示領域の半分のサイズに等しい高さでパネルに DIV 要素を表示したい。サイズ直しも問題ありません。しかし、パネルの表示領域のサイズを取得するにはどうすればよいですか (タイトルバーとツールバーなし)?
わかりました、私はそれを行う方法を1つだけ見つけました。x-scroll-container現在のビューでクラスを持つ要素を見つけることができます。この要素のサイズは、可視領域のサイズになります。
x-scroll-container