Releases: zurb/tribute
Add back dist directory.
The dist
directory was removed in version 2.0.0. This release adds it back in.
Corduroy Panda Release
There have been several major changes thanks to our contributors @jmlavoier @dmail @mattschwarz.
New in this release:
New methods for updating collections
We have introduced the append
and the appendCurrent
methods that allow you to push new content to your collection.
https://github.com/zurb/tribute#updating-a-collection-with-new-data
Cleaner file structure
The individual Tribute classes have been broken out into their own files and are now using ES6 import syntax. We now generate a compressed and uncompressed version of tribute.js
.
No Match Template and Event
We have introduced a template that you can render when no match is found in your collection. You can also bind to the tribute-no-match
event on your target element to know when this happens.
https://github.com/zurb/tribute#no-match-event
Backspace now updates search query
When you hit backspace on your @mention the query now updates like you would expect.
Fix scroll offset issue #10
The Tribute menu is now repositioned relative to the window
or the menuContainer
object.
The dist directory has been removed from the repo
The dist directory is only available when you run gulp build
.
Listen for delete and disable Tribute if no match.
Tribute previously would not disable if delete/backspace removed the mention, leaving the instance in an active state. This release fixes this issue.
Fix issue with click event on spans inside menu "li"
1.1.1 Bump version.
Add tribute-replaced event.
You can now bind to the tribute-replaced
event on elements that have attached Tribute instances.
Fix issue when collection values have no match
An error would occur when a collection.values
array was filtered to no match. 37a8a82 fixes this issue.
Add menuContainer configuration.
1.0.4 Bump version.
Work around iOS9 keyup detection issues.
iOS 9 does not fire a keyup
event. So we listen to input
event instead.
Fix scrollOffset
1.0.2 Bump version.
Support more object collections, fix some positioning bugs
Tribute now supports jQuery objects, Arrays of elements, NodeList, and HTMLCollection objects!