addItem (title) {
			var self = this;
	
			if (title.trim() === '') {
				return;
			}
	
			self.model.create(title, function () {
				self.view.render('clearNewTodo');
				self._filter(true);
			});
		}
/**
		 * An event to fire whenever you want to add an item. Simply pass in the event
		 * object and it'll handle the DOM insertion and saving of the new item.
		 * 
		 * @param {string} title The name of the todo to add
		 */
An event to fire whenever you want to add an item. Simply pass in the event
object and it'll handle the DOM insertion and saving of the new item.

@param {string} title The name of the todo to add
An event to fire whenever you want to add an item . Simply pass in the event object and it ' ll handle the DOM insertion and saving of the new item . @param { string } title The name of the todo to add
addItem (title) {
			var self = this;
			if (title.trim() === '') {
				return;
			}
			self.model.create(title, function () {
				self.view.render('clearNewTodo');
				self._filter(true);
			});
		}
addItem ( title ) { var self = this ; if ( title . trim ( ) === '' ) { return ; } self . model . create ( title , function ( ) { self . view . render ( 'clearNewTodo' ) ; self . _filter ( true ) ; } ) ; }
An event to fire whenever you want to add an item.
An event to fire whenever you want to add an item .