Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Dec 21, 2019. It is now read-only.
This repository was archived by the owner on Dec 21, 2019. It is now read-only.

mouseenter-like behavior #4

@oskarkrawczyk

Description

@oskarkrawczyk

Hey, I was poking around with an idea of a button that animates when hovering over, but seems like what's really needed is a mouseneter-like behavior. Here's the scenario:

The button has a ellipse background and an icon in the middle of it - they are not a group since I only need to animate the ellipse. I'm attaching a listener to the canvas hoping the whole canvas will be a hot-spot, instead the ellipse, and the icons are (separately). You can notice the flickering when moving your mouse.

See this example: http://jsfiddle.net/oskar/A5cmN/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions