I would like to ask you, how to expose the callback inside the constructor of the subcomponent to the outside world.

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 : {
          // 
          clusterWillChange: function() {},
          // 
          clusterChanged: function() {},
          // 
          scrollingProgress: function(progress) {}
        }
      });
    }

how to expose callbacks.

Mar.02,2021

put it in an attribute

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-1e9eb91-46740.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-1e9eb91-46740.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?