Giter Club home page Giter Club logo

tooltipper's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

tooltipper's Issues

Sticky tooltip

When the source element is removed from the DOM the tooltip sticks around. It shouldn't do that...

Better touch support

The focus and blur events provide a crappy user experience on touch devices. We should add a touch events that disable/override focus/blur events.

Live tooltip text rendering

When the tooltip text changes (like when a toggle button is clicked) the tooltip text needs to updated without having to unhover/focus the element.

Example

Initial: "Enable setting"
user clicks button
Updated: "Disable setting"

Performance

There is a performance cost to appending/removing elements from the DOM. We should render a new tooltip element when it does not exist and we should move/hide the element when it is no longer needed.

We should also use transform instead of the left and right CSS properties.

Passive event listeners

Stop forcing developers to fire refresh() instead capture all document.documentElement events and only apply the effect to e.target elements that contain the tooltipper attribute.

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.