Skip to content

axelthat/Todo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Todo

Simple Todo App Script which you can use in any of your project!

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

You need to have a ES6 Compatible Browser. In most of the cases, Google Chrome will be suitable for you.

Installing

It's really easy to install this script. Insert 3 lines of code and you're good to go!

<script src = "path/todo.js"></script>

Now, create as many task as you need.

let todos = new TodoApp(rootApp, tasks);

Now it's time to run the code:

todos.todoHandler();

Here's a quick demo:

let todos = new TodoApp(
		// Your root app where you want to render the tasks
		document.getElementById('todoLister'),
		// Tasks. Note: Tasks should be of type Array
		[
			'Get Up',
			'Brush Teeth',
			'Goto Work'
		]
	); 
todos.todoHandler();

Built With

  • ES6 - The only language used

Contributing

You can submit the pull requests to us.

Version Control

We use Git for version control.

Authors

Acknowledgments

  • Hat tip to anyone whose code was used
  • Inspiration
  • etc

About

Simple Todo Script which you can use in any of your project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published