npm install yet-another-todo-list --save
With default options:
$(yourContainer).yetAnotherTodoList();
With options:
$(yourContainer).yetAnotherTodoList({
defaultList : ["Foo", "Bar"],
titleText : 'TODO list title',
buttonAddText : '+ Add',
buttonDeleteText: '- Delete',
buttonUndoText : 'Undo',
});
There is a demo at https://github.com/msalsas/yet-another-todo-list/blob/master/dist/index.html.
npm run build
to deploy