editItem(id){
        this.model.read(id, data => {
            let title = data[0].title;
            this.view.render('editItem', {id, title});
        });
    }
/*
     * Triggers the item editing mode.
     */
Triggers the item editing mode.
Triggers the item editing mode .
editItem(id){
        this.model.read(id, data => {
            let title = data[0].title;
            this.view.render('editItem', {id, title});
        });
    }
editItem ( id ) { this . model . read ( id , data => { let title = data [ 0 ] . title ; this . view . render ( 'editItem' , { id , title } ) ; } ) ; }
Triggers the item editing mode.
Triggers the item editing mode .