 			click_type:
 				default: "click" # "touchend"
 				mandatory: true
-				check: ["click", "mouseup", "dblclick", "touchstart", "touchend"]
+				check: Button.clickTypes
+
 			text:
 				check: String
 			tooltip:

			type: "hide"
			node: @DOM


CUI.defaults.class.Button = CUI.Button


				ev.preventDefault()

		Events.listen
			type: Button.clickTypes # @_click_type # ["touchstart", "touchend"] # ["mouseup", "click", "dblclick"]
			node: @DOM
			call: (ev) =>
				if ev.getType() != @_click_type
					ev.stopPropagation()
					return

				# if ev.getType() != @_click_type
				# 	# click type can be changed after
