You are reading a single comment by @Pologram and its replies. Click here to read the full conversation.
  • Thanks for the suggestion @Gordon !

    I have a question with the code format.

    If I prototype my custom picker like this :

    function showTimePicker(options){
      console.log(options);
    }
    

    Later do I need to call it like this in my menu:

    E.showMenu({
      'Time': showTimePicker({
        foo : "bar", 
        spam : "eggs"
      })
    });
    

    or like this:

    E.showMenu({
      'Time': function () {showTimePicker({
        foo : "bar", 
        spam : "eggs"
      });}
    });
    

    ?

About

Avatar for Pologram @Pologram started