December 2017
Beginner
372 pages
10h 32m
English
The addtaskonBlur method simply check if the text area has any text, and if so, calls the add task function; else, it calls the clear task as shown here:
addtaskOnBlur() { if (this.addtaskText && this.addtaskText.trim() !== '') { this.addtask(); } this.clearAddtask(); }
Read now
Unlock full access