anchor.diff:      }
     }
   
  -  void open() => toggle(true);
  +  void toggle(Event e) => _toggle(!opened);
   
  -  void close() => toggle(false);
  +  void open(Event e) => _toggle(true);
  +
  +  void close(Event e) => _toggle(false);
   
     //* Handle the on-opened event from the dropdown. It will be fired e.g. when
     //* mouse is clicked outside the dropdown (with autoClosedDisabled == false).
  
positive.code:   }
  
    //* Toggle the opened state of the dropdown.
    void toggle([bool inOpened]) {
      final bool newOpened = inOpened != null ? inOpened : !opened;
      if (newOpened != opened) {
        opened = newOpened;
        // TODO(ussuri): A temporary plug to make spark-overlay see changes
        // in 'opened' when run as deployed code. Just binding via {{opened}}
        // alone isn't detected and the menu doesn't open.
  
negative.code: 
    void menuActivateHandler(CustomEvent e, var details) {
      if (details['isSelected']) {
        _toggle(false);
      }
    }
  
  