-
Notifications
You must be signed in to change notification settings - Fork 13
Home
Jérémy Lal edited this page May 28, 2017
·
5 revisions
webkitgtk often becomes stable enough only after a few patch releases, so here i keep notes about which versions can be run in a production environment.
- 2.14.7
- 2.16.3
Since webkitgtk >= 2.7.4, transparent windows are possible, see
Currently incomplete (there is no drag handlers, for example), it is still interesting to see how it's done using this code:
var W = require('webkitgtk')
W({offscreen:false})
.load('http://granze.github.io/flip-clock/components/flip-clock/demo.html', {
transparent: true,
decorated: false,
style: 'html,body {background-color:transparent !important;opacity:0.8}',
width: 600,
height: 200
})
.wait('load').run(function() {
var f = document.querySelector('flip-clock');
document.body.innerHTML = "";
document.body.appendChild(f);
})
.wait('unload')