Page 1 of 7
Linkr API: Client Side Javascript
Linkr uses the MooTools javascript library (included in every Joomla! installation) to display content. All AJAX
requests are made through the LinkrHelper variable.
requests are made through the LinkrHelper variable.Note: Joomla! uses MooTools 1.11
Related Readings:
Related Readings:
The LinkrHelper variable
All AJAX requests and Linkr methods are called through the LinkrHelper object. It should be available as soon as your script is included (see Linkr plugin events) but note that some methods (e.g. LinkrHelper.getL18N) might not work as expected until the page is loaded. The way to check that the page is fully loaded is with the window's domready event
:window.addEvent('domready', function() { // This code is executed once the page is loaded. });
As of Linkr 2.3.4, Linkr can be used instead of LinkrHelper (both will work):
alert(Linkr.getVersion()); // Alert the API version alert(LinkrHelper.getVersion()); // Equivalent



