API Fixes: Reference Viewer, wix-data, wix-animations
We just updated the API Reference to fix a few bugs. Here’s the list of recent changes.
To see every change in the API Reference, visit the Release Notes page.
We love hearing your feedback!
Lots of our bugs come from users like you and you can help us improve the docs by reporting them to us. You can report bugs and other feedback through these links found at the bottom of each page of our docs.
Reference Viewer
Show Members open by default
The table that lists the properties in a returned object used to be closed by default and would require you to click Show Members to view it. The expandable is now open by default. You can see an example in the Returns table for createProduct.
New Release Notes information
We will now label the latest updates in the Release Notes with New! in the heading to make it easier to find the latest changes.
wix-data
currentItem was listed as a context property for all data hooks.
Fixed: The context.currentItem parameter is only relevant for beforeUpdate() and beforeRemove() hooks. The property was removed from the documentation for all other hooks.
wix-animations
The target parameter was listed as the hiddenMixin.
The unit for opacity was unclear.
Fixed:
We updated the target parameter type to Element from mixin.
We clarified that only elements that mix in the hiddenMixin can be the target.
We clarified that the unit for opacity is from 0.0 - 1.0.