message: Added an optional onClick event con Control constructor
diff: @@ -12,15 +12,17 @@ License > https://github.com/Graviton-Code-Editor/Graviton-App/blob/master/LICEN
  /*
  new Control({
  text:"Some text",
  - hint:"Something"
  + hint:"Something",
  + onClick: ()=> console.log("clicked me!")
  })
  */
  module.exports = {
  - Control: function ({ text, hint, screen = current_screen.id }) {
  + Control: function ({ text, hint, screen = current_screen.id, onClick }) {
  this.text = text
  this.hint = hint
  - this.screen = screen;
  + this.screen = screen
  + this.onClick = onClick
  const controlSpan = document.createElement('span')
  controlSpan.innerText = text
  if (hint != undefined) controlSpan.title = hint
  @@ -30,6 +32,9 @@ module.exports = {
  this.setText = newText => {
  controlSpan.innerText = newText
  }
  + if(onClick){
  + controlSpan.onclick = onClick
  + }
  this.setHint = newHint => {
  controlSpan.title = newHint
  }
  