Libraryless. Click here for Pure Java version (2275L/14K).
1 | sS javascript_setWindowBounds(Rect r) { |
2 | ret r == null ? "" : |
3 | "window.moveTo(0, 0); " + |
4 | "window.resizeTo(\*r.w*/, \*r.h*/); " + |
5 | "window.moveTo(\*r.x*/, \*r.y*/);"; |
6 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1026325 |
Snippet name: | javascript_setWindowBounds |
Eternal ID of this version: | #1026325/3 |
Text MD5: | 68d065c0fe9569a57eedeeaa4e3858f1 |
Transpilation MD5: | 7c98da7f76771d9aacfeaf2a42043179 |
Author: | stefan |
Category: | javax / platform |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-12-21 13:30:07 |
Source code size: | 184 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 180 / 251 |
Version history: | 2 change(s) |
Referenced in: | [show references] |