          }
        },
        enforceWhitelist: true
    })

tagify.on("dropdown:show", onSuggestionsListUpdate)
      .on("dropdown:hide", onSuggestionsListHide)
      .on('dropdown:scroll', onDropdownScroll)

renderSuggestionsList()  // defined down below

// ES2015 argument destructuring
function onSuggestionsListUpdate({ detail: suggestionsElm }) {
    console.log(suggestionsElm)
}

function onSuggestionsListHide() {
    console.log("hide dropdown")
}

function onDropdownScroll(e) {
    console.log(e.d