Hello everyone,
I am looking for kibana visualization gridster resize event listener , is there some object that i could keep listening or watching for this?
Best Regards
Tarun Kumar
Hello everyone,
I am looking for kibana visualization gridster resize event listener , is there some object that i could keep listening or watching for this?
Best Regards
Tarun Kumar
hi @tarun_kumar,
I assume you're developing a visualization plugin?
Most kibana visualizations use the resize checker (https://github.com/elastic/kibana/blob/master/src/ui/public/vislib/lib/resize_checker.js).
Note that that's an internal API which may change.
Thanks a lot @thomasneirynck.
I am not able to use resize_checker lib and it returns me a function as -
var ResizeChecker = Private(require('ui/vislib/lib/resize_checker'));
console.log(ResizeChecker) prints me a function which contains verious functions.
I am bit new to javascripting , so how do invoke function like read() from this ResizeChecker instance?
I tried
console.log(ResizeChecker.prototype.read());
which returns TypeError: Cannot read property '0' of undefined
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.