module.exports = {
  onInput: function() {
    this.state = {
      name: "app-foo"
    };
  },

  onMount: function() {
    window.fooComponent = this;
    this.mouseMoveEvent = null;
    this.clickEvent = null;
  },

  handleButtonMouseMove: function() {
    this.mouseMoveEvent = arguments;
  },

  handleButtonClick: function() {
    this.clickEvent = arguments;
  }
};
