Updating outputs when clicking a buttom

Solve this problem we need to:

  1. Extend the definition of the subscript method by using the change event (triggers when an element is updated).
  subscribe: function(el, callback) {
    $(el).on('keyup.customTextBinding input.customTextBinding', function(event) {
      console.log(event);
      callback();
    });
  
    $(el).on('change.customTextBinding', function(event) {
      callback(false);
    });
  }