Currently, I am utilizing semantic ui and struggling with attaching the callback function onHidden. Unfortunately, despite my efforts, the code snippet provided below does not seem to be functioning as expected; the callback is never triggered.
How can I resolve this issue?
$('.sidebar').sidebar('setting', 'onHidden', function(){
console.log('on hidden');
});