当用全屏启动chrome时,在angular上退出全屏不起作用。 html: <hello name="{{ name }}"></hello>
<a href="https://angular-go-full-screen-f11-key.stackblitz.io" target="_blank" style="display: block;">
Open in new window
</a>
<button (click)="openFullscreen()
我尝试过这两种方法,既不工作,也不显示控制台错误,所以我有点困惑。
function resizeMe() {
let myWindow;
myWindow.resizeTo("width=200","height=200");
}
和
function resizeMe() {
window.resizeTo("width=200","height=200");
}
我试图调整大小的页面由此默认行为方法加载。
function start() {
window.open("example1.html")