Skip to content

Releases: WizUI/wuiButtonBehavior

v0.1.5

16 Apr 01:20
Compare
Choose a tag to compare

Let's cancel for now

Added a method on the behavior to cancel the tap on the current button.

v0.1.4

27 Nov 01:58
Compare
Choose a tag to compare

Repeat after me: I will stop when asked to

With the isRepeatable option activated, the previous flow allowed to disable the button in between repeats. The
button would be disabled but would keep on emitting the tap event.

v0.1.3

02 Jun 09:48
Compare
Choose a tag to compare

I care about you deeply

Changing within the way we care about imbricated buttons. The deepest will be taken.

Faking is not lying

Implemented a new method called tap to trigger the tap cycle events.

v0.1.2

26 May 11:39
Compare
Choose a tag to compare

Cancel me if you can, but only if you should

The implementation of cancelling the tap event when moving has been revisited for better support of desktop browser.
The maxDeviation wasn't good enough, now it will detect if the cursor/finger leave the button.
Also added cancellation when scrolling farther than the button size.

v0.1.1

14 May 01:18
Compare
Choose a tag to compare

Mouse can leave too

tapend is getting called to cancel the tap action when mouse is leaving the button.

Removed touch/click preventDefault fix

WuiDom was refactored and incorporates this fix.
This made a lot more sense as all behaviors would need this.
It didn't make sense to have to replicate this every time we created a new behavior.
As such this version of wui-buttonBehavior requires WuiDom v0.4.0 and above.

v0.1.0

02 Feb 08:17
Compare
Choose a tag to compare
* First commit