code: function() {
        if (this.propertyPanel.style.display == 'none') {
           this.propertyPanel.style.display = '';
           Dom.addClass(this.button, "opened");
        } else {
           this.propertyPanel.style.display = 'none';
           Dom.removeClass(this.button, "opened");
        }
     }
docs: Toggle the property panel