Skip to content

Instantly share code, notes, and snippets.

@lydemann
Created May 22, 2020 10:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lydemann/02e842580b0ab0b762d1f3137b0ed7e0 to your computer and use it in GitHub Desktop.
Save lydemann/02e842580b0ab0b762d1f3137b0ed7e0 to your computer and use it in GitHub Desktop.
todo-list.tsx
const crudItems = document.querySelectorAll('app-crud-item');
crudItems.forEach((item, idx) => {
(item as any).todoItem = todoList[idx];
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment