(Vegvisir 2, Vegvisir 3)

vegvisir.Navigation.bindElements()

Trigger automatic binding of unbound tags.

Description

Bind event listeners for HTMLAnchorElement tags and other tags with a vv attribute that haven't already been bound.

This method is runned automatically after a finished Vegvisir navigation.

Examples

Basic usage

In this example we will programatically create and append an anchor tag to the DOM and use this method to bind it.