Remove a custom module.

Example

window._elev.on(’load’, function(_elev) {
_elev.addModule({
id: 'custom-module-1',
title: 'My Custom Module',
url: 'https://example.com',
icon: 'star',
order: 2
});
setTimeout(function() {
_elev.removeModule('custom-module-1');
}, 1000);
});

Signature

window._elev.removeModule(id);

id (required)

The unique id given to a custom module you created earlier.

See also

  • addModule