I need some help to translate these jQuery events into pure Javascript:
$('.pluginConfigurationPage').on('pageinit', function() {
//create other event handlers here
})
$('.pluginConfigurationPage').on('pageshow', function() {
var page = this;
loadConfig(page);
})
For "pageinit" i didn't find any pure JS equivalent at all. For "pageshow" i have tried this one:
document.getElementById('pluginConfigurationPage').addEventListener("pageshow", function (event) {
var page = document