Compare commits

...

3 Commits

Author SHA1 Message Date
ada5c33665 win -> unix
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
2025-02-06 15:52:06 +03:00
2c2257b603 notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
2025-02-06 15:51:23 +03:00
0d0fbadc2f ...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
2025-02-03 13:49:10 +03:00
2 changed files with 267 additions and 266 deletions

View File

@ -4,6 +4,7 @@
*
**********************************************************************/
// XXX add something like .closeToViewport(..)
Element.prototype.visibleInViewport = function(partial=false){
var { top, left, bottom, right } = this.getBoundingClientRect()
var { innerHeight, innerWidth } = window

View File

@ -752,4 +752,4 @@ var setup = function(){
</body>
</html>
<!-- vim:set ts=4 sw=4 : -->
<!-- vim:set ts=4 sw=4 nowrap : -->