Skip to content

Releases: Rails-Designer/attractivejs

v0.12.0

17 Feb 05:04
992fc79

Choose a tag to compare

⚠️ Breaking change:

data-target no longer requires #, only accepts IDs.

<div id="content"></div>

Before:

  data-target="#content"

After:

  data-target="content"

Use data-targets to query for multiple elements, eg. data-targets=".content" or data-targets="[data-slot='icon']".

What's Changed

  • Add data-targets for multiple elements, simplify data-target by @eelcoj in #44
  • Test set up (using vitest) and first classes tested by @eelcoj in #45

Full Changelog: v0.11.0...v0.12.0

v0.11.0

31 Dec 10:24
d30ca1b

Choose a tag to compare

What's Changed

  • Add window/document event targeting by @eelcoj in #35
  • Consistently use data-{actionName}-delay attribute by @eelcoj in #36
  • Winter spring cleaning by @eelcoj in #37
  • Improved event registering by @eelcoj in #38
  • Add action modifiers for conditional execution by @eelcoj in #39

Full Changelog: v0.10.0...v0.11.0

v0.10.0

30 Dec 09:53
f068697

Choose a tag to compare

What's Changed

  • Add element#remove and element#duplicate actions by @eelcoj in #32
  • Properly check for turbo-frame for reload/refresh action by @eelcoj in #34

Full Changelog: v0.9.0...v0.10.0

v0.9.0

06 Nov 05:45
34cabb7

Choose a tag to compare

What's Changed

Full Changelog: v0.8.0...v0.9.0

v0.8.0

20 Oct 05:52
3f9939e

Choose a tag to compare

Full Changelog: v0.7.0...v0.8.0

v0.7.0

20 Oct 04:35
890839a

Choose a tag to compare

Full Changelog: v0.6.0...v0.7.0

v0.6.0

18 Oct 11:22
36eaa7e

Choose a tag to compare

What's Changed

  • Update README.md by @eelcoj in #16
  • Extended and fixed some tests by @eelcoj in #18
  • Add support for space-separated values by @eelcoj in #17
  • Added reload action by @eelcoj in #24
  • Added support to cycle through values (using new cycle* action) by @eelcoj in #25

Full Changelog: v0.5.0...v0.6.0

v0.5.0

11 Oct 12:31
e9bdbdc

Choose a tag to compare

What's Changed

Full Changelog: v0.4.0...v0.5.0

v0.4.0

11 Oct 12:20
9f6df24

Choose a tag to compare

What's Changed

Full Changelog: v0.3.0...v0.4.0

v0.3.0

07 Oct 10:42
279281f

Choose a tag to compare

What's Changed

  • Added new dialog action by @eelcoj in #6
  • Added form actions (inc. support for debounce/delay) by @eelcoj in #7
  • Option to enable debug from activate method by @eelcoj in #8

New Contributors

  • @eelcoj made their first contribution in #6

Full Changelog: v0.2.0...v0.3.0