mdings / electron-tooltip Goto Github PK
View Code? Open in Web Editor NEWFree your tooltips from their window bounds
License: MIT License
Free your tooltips from their window bounds
License: MIT License
Hi, I believe the latest version released on npm is out of date. electron-tooltip.js
does not contain the customContent
property, but it is available on this repo.
However, the package.json
is the same version, 1.1.4 in both. Can we get this latest version published?
Thanks!
I tried out your plugin but I couldn't get it to be consistent. I have an outter div wrapping an icon. Whenever I move my cursor over the icon the tooltip would disappear. Looking at the code it "looked" ok with mouseenter and mouseleave, but I couldn't figure it out. Here is my HTML.
<div id="LineModeBtn" class="selected" data-tooltip="Line Mode"><i class="ti-line-dotted"></i></div>
Hi,
I'm using vue-cli-plugin-electron-builder and the module is not working.
My App.vue file as an example with following code under the script tag:
const tooltip = require('electron-tooltip')
tooltip()
Error message:
***path deleted***\node_modules\electron\dist\resources\electron.asar\renderer\callbacks-registry.js:47 Uncaught (in promise) Error: ERR_FILE_NOT_FOUND (-6) loading 'file:///***path deleted***/node_modules/electron/dist/resources/electron.asar/renderer/electron-tooltip.html'
at rejectAndCleanup (***path deleted***\node_modules\electron\dist\resources\electron.asar\browser\navigation-controller.js:72:21)
at WebContents.failListener (***path deleted***\node_modules\electron\dist\resources\electron.asar\browser\navigation-controller.js:82:11)
at WebContents.emit (events.js:194:13)
Any ideas or workarounds in mind?
Best regards
David
I just updated a project from Electron 3.x to 9.x, and the tooltips don't seem to be triggering anymore...
Newbie here.
In the sample code
// example
// in the render process..
const tt = require('electron-tooltip')
tt({
position: 'bottom',
width: 200,
style: {
backgroundColor: '#f2f3f4',
borderRadius: '4px'
}
})
Seems that the tooltip is styled in place in the JS code. Would it be possible to move this into the common CSS file of the page of interest? Something like this
tt({
position: 'bottom',
width: 200,
style: 'thispage.css'
})
hehehea... use JavaFX ;)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.