jQuery 3.3.1, HTML, CSS, JavaScript
jQuery 1.9.1, HTML, CSS, JavaScript
Change class name on click in jQuery
I intiially missed seeing the widget extend. This is a pared down version from the demo. It only adds the icons to the menu items, not the button.
jQuery 1.7.2, HTML, CSS, JavaScript
jQuery 1.6.2, HTML, CSS, JavaScript