The parent component invokes the child component function and executes the

clusterize() {
      return new Clusterize({
        rows: this.DomArray,
        scrollId: this.scrollId,
        contentId: this.contentId,
        rows_in_block: this.rows_in_block,
        blocks_in_cluster: this.blocks_in_cluster,
        show_no_data_row: this.show_no_data_row,
        no_data_text: this.no_data_text,
        no_data_class: this.no_data_class,
        keep_parity: this.keep_parity,
        tag: this.tag,

        callbacks: (Clusterize.prototype.callbacks = {
          // 
          clusterWillChange: function() {
            console.log("----->------>");
          },
          // 
          clusterChanged: function() {
            console.log("----->-------->");
          },
          // 
          scrollingProgress: function(progress) {
            console.log(progress);
          }
        })
      });
      
      

  1. you want to add a callback to the function in callbacks. You can pass the function directly when the parent component calls it, and let the child component execute it.
    what can be done

Mar.02,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3ec15-2c456.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3ec15-2c456.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?