code: function(event, element, elementType) {
  
  			if (elementType === 'select-all-checkbox') {
  				var shouldMarkAsComplete = element.checked;
  
  				if (shouldMarkAsComplete) {
  					todosDB.markAllAsComplete();
  				} else {
  					todosDB.markAllAsIncomplete();
  				}
  
  				this.renderList();
  
  				context.broadcast('todostatuschange');
  			}
  
  		}
docs: Handles all click events for the module.
  @param {Event} event A DOM-normalized event object.
  @param {HTMLElement} element The nearest HTML element with a data-type
  attribute specified or null if there is none.
  @param {string} elementType The value of data-type for the nearest
  element with that attribute specified or null if there is none.
  @returns {void}