Coder Social home page Coder Social logo

bongole / electron-transparency-mouse-fix Goto Github PK

View Code? Open in Web Editor NEW

This project forked from toonvanvr/electron-transparency-mouse-fix

0.0 0.0 0.0 618 KB

Click-through and drag&drop for transparent Electron windows

License: MIT License

TypeScript 100.00%

electron-transparency-mouse-fix's Introduction

Electron Transparency Mouse Fix

Status: Sandbox Playground

The library has basic functionality on macOS, but is expected to undergo breaking changes before the initial release of v2.

The EtmfPreloader class might need to be split between a renderer.js and preload.js script for security reasons in the future.

Supported platforms

It's very hard to support multiple platforms because each OS or lib update may break something. Make sure you test everything on all versions of the platforms you need to support beforehand.

macOS: Basic (goal = good ux for base functionality)

Windows: Unknown (goal = maximize UX)

Linux: Broken (goal = hope even basic functionality is supported, {forward: true} seems broken again for setIgnoreMouseEvents)

CDN

This is v2.0.0 and has not been uploaded to NPMJS yet.

Run the demo

npm install
npm run dev:demo

Rollup is used to merge preload.js into a single file since the default security measurements crippled require()'s access to the filesystem, which bars you from doing relative imports.

Use as import

Visit the demo code for usage of imports and package.json for build flows beyond the lib

npm install
npm run build:lib

electron-transparency-mouse-fix's People

Contributors

bongole avatar dependabot[bot] avatar toonvanvr avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.