Method link documentation

Follows a link and if needed by sending the corresponding Ajax request and executing bbn.fn.defaultPreLinkFunction.

Example

```javascript // Will open in a new window/tab bbn.fn.link('https://nytimes.com'); // Will send an Ajax request bbn.fn.link('my/page'); // Will open your default email program bbn.fn.link('mailto:postmaster@test.com'); ```

Follows a link and if needed by sending the corresponding Ajax request and executing bbn.fn.defaultPreLinkFunction. - Once bbn has been initiated this function will be triggered every time a link is clicked. It accepts the same arguments as seen in treatAjaxArguments but will tipically just be called with a URL, the defaultLinkURL functions being in charge of loading the content BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.