Skip to content

Releases: rvighne/TagTrain

0.2.0

17 Aug 01:45
Compare
Choose a tag to compare
0.2.0 Pre-release
Pre-release
  • Many improvements to the default theme stylesheet
    • Uses the parent element's font for the tag input
    • Fixed an issue regarding text wrapping of the tags and input (#2)
    • Tag input element now grows proportionally to the text entered (#1)
      • Some browsers do not implement this perfectly (Firefox, Edge), so very long strings will still require a little scrolling
  • New option: maxTagLen limits the maximum allowable tag size; off by default
  • New event: reject-tag is fired when a tag cannot be added for whatever reason (e.g. not matching the regular expression, too long, blank, duplicate, max tag count is already reached, etc.)
  • API improvement: Accessing the tags internal property is no longer encouraged
    • getTags returns a copy of the tags array
    • change event no longer gets a reference to the tags array as an argument. See the above point. This is a breaking change!

0.1.0

16 Aug 02:22
Compare
Choose a tag to compare
0.1.0 Pre-release
Pre-release
  • Big feature: this release introduces event handling! See Issue #3 for a description of the new API
  • Tags are no longer stored as a sparse array. This has simplified both the internal code and the external interface (well... if there was an external interface... but the point is, now it is simple to use the tags property on the TagTrain instance).

0.0.0

16 Aug 00:09
Compare
Choose a tag to compare
0.0.0 Pre-release
Pre-release

Initial release! Included features:

  • Specifying maximum number of tags, regular expression to validate tags, custom tag delimiters.
  • Default styling to get started quickly