Difference between revisions of "Widget:Compass"

From LINKS Community Center
Jump to: navigation, search
Line 608: Line 608:
  
 
         const handler = event => {
 
         const handler = event => {
             console.log('target', event.target)
+
             // console.log('target', event.target)
             console.log('c-target', event.currentTarget)
+
             // console.log('c-target', event.currentTarget)
 
             // if (!event.target.classList.contains('choice')) return;
 
             // if (!event.target.classList.contains('choice')) return;
  
             const id = event.target.id;
+
             const id = event.currentTarget.id;
 
             console.log('element id=' + id);
 
             console.log('element id=' + id);
             console.log('actions', actions[id].filter)
+
             console.log('actions', actions[id]?.filter)
 
         }
 
         }
  

Revision as of 13:46, 24 November 2022

Development version of the Compass.
Not ready for production!