todo, JavaScript, JQuery, VueVanilla JavaScipt / JQuery / Vue

這是一個透過 Vanilla JavaScipt / JQuery / Vue 實作 To Do List 的練習。學習透過原生 JavaScipt 操作 DOM API,再比較使用 Library 和 Framework 的異同,去理解它們底層分別處理掉了什麼原生語法需要處理的麻煩事。
.querySelector(), .querySelectorAll().push(), .unshift(), .splice(), .length.parentElement, .children[i]this !.innerHTML, .textContent, value.addEventListener(), .removeEventListener(), click, blur, focusvar versus lettemplate literalsES5 function versus arrow function.forEach()event.stopPropogation()event.preventDefault()return// Vanilla
document.addEventListener("DOMContentLoaded", function() {});
// 等於 JQuery 的
$(document).ready(function() {});
$.( ).each()event.stopPropogation()event.preventDefault().val(), .empty(), .text()click, blur, focus, on, offJQuery Objects 才能使用 JQuery Methods.parent(), .children()$('[data-name]')this versus $(this)