// The programatically appended anchor tag will not have Vegvisir event listeners on it yet
document.body.appendChild(document.createElement("a"));

// It will have Vegvisir event listeners after this method is called
vegvisir.Navigation.bindElements();