createList() {
		let newListId = `list${this.currentListIndex}`;
		this.currentList = new List(
			newListId,
			`My to-do list #${this.currentListIndex}`,
			undefined,
			1
		);
		this.lists.push(newListId);
		this.currentListIndex++;
		
		this.currentList.renderInNavbar();
		this.currentList.render();

		StateRenderingModule.showStartPage(false);
		this.saveData();
	}
/**
	 * Creates a new list, saves it into the database and renders it.
	 */
Creates a new list, saves it into the database and renders it.
Creates a new list saves it into the database and renders it .
createList() {
		let newListId = `list${this.currentListIndex}`;
		this.currentList = new List(
			newListId,
			`My to-do list #${this.currentListIndex}`,
			undefined,
			1
		);
		this.lists.push(newListId);
		this.currentListIndex++;
		this.currentList.renderInNavbar();
		this.currentList.render();
		StateRenderingModule.showStartPage(false);
		this.saveData();
	}
createList ( ) { let newListId = ` ${ this . currentListIndex } ` ; this . currentList = new List ( newListId , ` ${ this . currentListIndex } ` , undefined , 1 ) ; this . lists . push ( newListId ) ; this . currentListIndex ++ ; this . currentList . renderInNavbar ( ) ; this . currentList . render ( ) ; StateRenderingModule . showStartPage ( false ) ; this . saveData ( ) ; }
Creates a new list, saves it into the database and renders it.
Creates a new list saves it into the database and renders it .