Giter Club home page Giter Club logo

vue-todolist's Introduction

vue-todolist

基于Vue的TodoList示例,麻雀虽小,五脏俱全

技术栈

Vue + localStorage + hash

功能描述(使用说明)

  • 添加备忘录(输入标题后回车添加,如果内容为空或只有空格会清空,什么都不添加)
  • 删除备忘录(点击标题后面的叉)
  • 完成备忘录(点击标题前面的复选框)
  • 编辑备忘录(双击标题进入编辑模式)
  • 取消编辑备忘录(按ESC或者失去焦点时)
  • 完成编辑备忘录(按回车键完成[如果内容为空的时候会自动删除],此时也会调用到失去焦点事件)
  • 一键完成所有备忘录(点击第一行的复选框)
  • 过滤任务,显示全部,未完成,已完成的备忘录(点击全部,未完成,已完成按钮)
  • 清空已完成备忘录(点击清空已完成)

Vue相关知识点练习:

  • el选项挂载DOM
  • 属性
  • 计算属性(get,set)
  • 属性观察
  • 方法
  • 指令

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.