code: function(_options,_ev){
              var _element = _e._$get(_options.element),
                  _clazz = _options.clazz,
                  _event = {
                      event:_ev,
                      clazz:_clazz,
                      target:_element,
                      source:_e._$get(_options.source)
                  };
              _options.onbeforetoggle.call(null,_event);
              if (!!_event.stopped) return;
              // toggle element
              if (_e._$hasClassName(_element,_clazz)){
                  _event.toggled = !1;
                  _e._$delClassName(_element,_clazz);
              }else{
                  _event.toggled = !0;
                  _e._$addClassName(_element,_clazz);
              }
              _options.ontoggle.call(null,_event);
          }
docs: click event