Over the past couple weeks we have been rolling out a new sharing menu API for AddToAny. Our primary goal was to make AddToAny self-contained while maintaining perfect backwards compatibility with our old API.
Transitioning to the new API
While transitioning to the new API is optional at this point, there are some important aspects to note.
- All transitioned properties take the same name as their legacy global counterparts
- Future properties will not have a supported global equivalent
- Be careful with syntax and handling of the a2a_config object
- Definitely check out the thorough examples and documentation, and list of available properties
If you have any questions or run into any problems at all, feel free to get in touch with us directly. Happy early Valentine’s Day!