-
Notifications
You must be signed in to change notification settings - Fork 756
Open
Labels
selectors-4Current WorkCurrent Work
Description
The :clicked would be another selector similar in action to :active with one slight but major change. Both would start at the same time but whereas :active's active duration is only for when the mouse is pressed down :clicked would last for the maximum time of either the duration of mouse pressed or the duration of encompassed tags such as animations.
Example:
* Mouse down
* :active fires
* :clicked fires
* :clicked animation (duration 0.2s) starts
* time delay 50ms
* Mouse Up
* :active encompassment falls out of scope
* time delay 150ms
* :clicked animation ends
* :clicked encompassment falls out of scopeHowever, if the animation finishes before the mouse up event has happened then it continues to act like :active and waits for mouse up
Metadata
Metadata
Assignees
Labels
selectors-4Current WorkCurrent Work