Sha256: b041c6a5da98cec8207da6b9fc932eadcec88af6922ee482aab8bb794a1f990c
Contents?: true
Size: 877 Bytes
Versions: 6
Compression:
Stored size: 877 Bytes
Contents
/*** = Description ** Menu item for the HMiniMenu component. ***/ var//RSence.Menus HMiniMenuItem = HRadioButton.extend({ componentName: 'minimenuitem', defaultEvents: { click: true, mouseUp: true, mouseDown: true }, gainedActiveStatus: function( _prevActive ){ this.base( _prevActive ); }, lostActiveStatus: function( _newActive ){ this.parent.options.logicParent.menuHide(); this.base( _newActive ); }, _parentLastActivation: 0, click: function(){ var _now = this.msNow(); if( _now - this._parentLastActivation > 200 ){ this._parentLastActivation = _now; this.base(); EVENT.changeActiveControl(null); } return true; }, mouseDown: function(){ this.base(); this.click(); return true; }, mouseUp: function(){ this.base(); this.click(); return true; } });
Version data entries
6 entries across 6 versions & 1 rubygems