[Close #44] Add quark.resizePopup()

This commit is contained in:
LIU Dongyuan / 柳东原
2015-09-25 21:42:58 -07:00
parent 7f7e1238eb
commit 0d6b82612f
6 changed files with 43 additions and 6 deletions

View File

@@ -52,6 +52,7 @@
}
button:active {
background-color: #e8e8e8;
color: black;
}
canvas {
display: none;
@@ -90,6 +91,8 @@
<button onclick="confirm('Quark Shell rocks!')">Confirm</button>
</p>
<p>
<button onclick="quark.resizePopup({width: 400, height: 320})">Resize</button>
<button style="visibility: hidden;"></button>
<button onclick="quark.quit()">Quit</button>
</p>
</div>