翻譯不完整。請協助 翻譯此英文文件。
摘要
打開列印視窗來列印當前的文件。
語法
window.print()
注釋
Starting with Chrome 46.0 this method is blocked inside an <iframe>
unless its sandbox attribute has the value allow-modals
.
規範
Specification | Status | Comment |
---|---|---|
HTML Living Standard The definition of 'print()' in that specification. |
Living Standard |