Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- this.$nextTick(function () {
- let ThisTempo = this;
- document.getElementById("btn-test").onclick = function () {
- ThisTempo.appelAPI(baseUrl + "xwiki/spaces", ThisTempo.loadMenu);
- };
- var accordion = document.getElementsByClassName("accordion");
- for (var i = 0; i < accordion.length; i++) {
- accordion[i].onclick = function () {
- ThisTempo.affiche_accordion(this);
- };
- }
- });
Add Comment
Please, Sign In to add comment