You are reading a single comment by @CarlR and its replies. Click here to read the full conversation.
  • How do you terminate events in Bangle 2? Here's the problem I'm having...

    var menu = {
    	"" : {
    		"title" : " Menu Test"
    	},
    	"Do Nothing" : function() {},
    	"Close Menu" : function() {
    		E.showMenu();
    	}
    };
    
    Bangle.on('touch', function(n,ev) {
    	E.showMenu(menu);
    });
    
    g.clear();
    E.showMenu(menu);
    
    

    After closing the menu there, a tap on the screen opens it again. However, if you tap where the "Close Menu" choice was, the menu promptly closes again. What's the best fix for this?

About

Avatar for CarlR @CarlR started