changeButton (name, index, extraFunction, context, asset) {  
    this.button(name,
      ((index, extraFunction, context) => () => {
        this.callExtraFunction(extraFunction, context)
        this.changeContent(index)
      })(index, extraFunction, context), this, asset)
  }
/**
   * Creates a button that changes the current content creator to the given
   *
   * @param {*} name text in the button
   * @param {*} index the index of the content
   * @param {*} extraFunction function that is called before the change
   * @param {*} context context of the extra function
   */
Creates a button that changes the current content creator to the given
@param {*} name text in the button
@param {*} index the index of the content
@param {*} extraFunction function that is called before the change
@param {*} context context of the extra function
Creates a button that changes the current content creator to the given @param { * } name text in the button @param { * } index the index of the content @param { * } extraFunction function that is called before the change @param { * } context context of the extra function
changeButton (name, index, extraFunction, context, asset) {  
    this.button(name,
      ((index, extraFunction, context) => () => {
        this.callExtraFunction(extraFunction, context)
        this.changeContent(index)
      })(index, extraFunction, context), this, asset)
  }
changeButton ( name , index , extraFunction , context , asset ) { this . button ( name , ( ( index , extraFunction , context ) => ( ) => { this . callExtraFunction ( extraFunction , context ) this . changeContent ( index ) } ) ( index , extraFunction , context ) , this , asset ) }
Creates a button that changes the current content creator to the given
 @param {*} name text in the button
 @param {*} index the index of the content
 @param {*} extraFunction function that is called before the change
 @param {*} context context of the extra function
Creates a button that changes the current content creator to the given @param { * } name text in the button @param { * } index the index of the content @param { * } extraFunction function that is called before the change @param { * } context context of the extra function