Extending Existing Widget.?.

Extending Existing Widget.?.


Is it possible to extend an existing UI widget? I'd like to extend
accordion and add a couple features. I've taken a look at
how .ui.mouse is extended and tried the same thing but it doesn't seem
to work. Thanks