remove listItemUpdate related classes into c-operation-list and simplify code, as duplicates in the operation lists are now no longer an issue in the context of this. Add a custom events to dispatch on change of favourites

This commit is contained in:
Robin Scholtes 2023-08-15 15:19:11 +12:00
parent 6a11d14794
commit 4dc4645def
6 changed files with 59 additions and 85 deletions

View file

@ -54,6 +54,10 @@ class Manager {
* @event Manager#statechange
*/
this.statechange = new CustomEvent("statechange", {bubbles: true});
/**
* @event Manager#favouritesupdate
*/
this.favouritesupdate = new CustomEvent("favouritesupdate", {bubbles: true});
// Define Waiter objects to handle various areas
this.timing = new TimingWaiter(this.app, this);