mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-21 02:29:23 +00:00
feature(dom) events: add rmClick
This commit is contained in:
parent
96cd5e4a90
commit
2713363e99
1 changed files with 10 additions and 0 deletions
|
|
@ -334,6 +334,16 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog;
|
|||
return this.add('click', pListener, pElement, pUseCapture);
|
||||
};
|
||||
|
||||
/**
|
||||
* safe remove event click listener
|
||||
*
|
||||
* @param pListener
|
||||
* @param pUseCapture
|
||||
*/
|
||||
this.rmClick = function(pListener, pElement, pUseCapture) {
|
||||
return this.remove('click', pListener, pElement, pUseCapture);
|
||||
};
|
||||
|
||||
this.addContextMenu = function(pListener, pElement, pUseCapture) {
|
||||
return this.add('contextmenu', pListener, pElement, pUseCapture);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue