markdown 窗口オブジェクト Posted 2021-05-06
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown 窗口オブジェクト相关的知识,希望对你有一定的参考价值。
console.log(window);
console.log(window.screen);
console.log(screen);
console.log(window.document);
console.log(document);
console.log(window.location);
console.log(location);
console.log(window.navigator);
console.log(navigator);
console.log(window.history);
console.log(history);
console.log(window.event);
console.log(event);
console.log(window.console);
console.log(console);
console.log(window.window);
console.log(window);
console.log(window.self);
console.log(self);
// console.log(window.parent);
// console.log(parent);
// console.log(window.top);
// console.log(top);
console.log(window.opener);
console.log(opener);
// console.log(window.frames[]);
// console.log(frames[]);
console.log(window.closed);
console.log(closed);
console.log(window.name);
console.log(name);
console.log(window.status);
console.log(status);
console.log(window.screenX);
console.log(screenX);
console.log(window.screenY);
console.log(screenY);
console.log(window.screenLeft);
console.log(screenLeft);
console.log(window.screenTop);
console.log(screenTop);
console.log(window.innerHeight);
console.log(innerHeight);
console.log(window.innerWidth);
console.log(innerWidth);
console.log(window.outerHeight);
console.log(outerHeight);
console.log(window.outerWidth);
console.log(outerWidth);
console.log(window.scrollX);
console.log(scrollX);
console.log(window.scrollY);
console.log(scrollY);
console.log(window.pageXOffset);
console.log(pageXOffset);
console.log(window.pageYOffset);
console.log(pageYOffset);
// # メソッド
alert();
prompt();
confirm();
setTimeout();
setInterval();
clearTimeout();
clearInterval();
blur();
focus();
close();
open();
moveBy();
moveTo();
resizeBy();
resizeTo();
scrollBy();
scrollTo();
print();
JS-Windowオブジェクト
---------------
A [Pen](https://codepen.io/taquaki/pen/XzBNqo) by [Takaaki Sato](https://codepen.io/taquaki) on [CodePen](https://codepen.io).
[License](https://codepen.io/taquaki/pen/XzBNqo/license).
以上是关于markdown 窗口オブジェクト的主要内容,如果未能解决你的问题,请参考以下文章
markdown オブジェクトの判定
markdown 文档オブジェクト
markdown 屏幕オブジェクト
markdown 历史オブジェクト
markdown 导航オブジェクト
markdown 位置オブジェクト