add destroy method for inputs

This commit is contained in:
vitalets
2013-06-15 16:55:04 +04:00
parent ef6151ff15
commit 8287173d26
3 changed files with 9 additions and 0 deletions

@ -152,6 +152,12 @@ To create your own input you can inherit from this class.
},
/**
Additional actions when destroying element
**/
destroy: function() {
},
// -------- helper functions --------
setClass: function() {
if(this.options.inputclass) {