src/generators/dom/visitors/Element/Binding.js/getBindingEventName
function getBindingEventName ( node, attribute ) {
	if ( node.name === 'input' ) {
		const typeAttribute = node.attributes.find( attr => attr.type === 'Attribute' && attr.name === 'type' );
		const type = typeAttribute ? typeAttribute.value[0].data : 'text'; // TODO in validation, should throw if type attribute is not static

		return type === 'checkbox' || type === 'radio' ? 'change' : 'input';
	}

	if ( node.name === 'textarea' ) return 'input';
	if ( attribute.name === 'currentTime' ) return 'timeupdate';
	if ( attribute.name === 'duration' ) return 'durationchange';
	if ( attribute.name === 'paused' ) return 'pause';

	return 'change';
}