# Gridster resize listener

**URL:** <https://discuss.elastic.co/t/gridster-resize-listener/73352>\
**Category:** Kibana\
**Created:** [January 31, 2017, 11:28am UTC](https://discuss.elastic.co/t/gridster-resize-listener/73352 "2017-01-31T11:28:59Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![tarun\_kumar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tarun_kumar/32/65948_2.png) [@tarun\_kumar](https://discuss.elastic.co/u/tarun_kumar)\
**Post date:** [February 1, 2017, 12:15pm UTC](https://discuss.elastic.co/t/gridster-resize-listener/73352/3 "2017-02-01T12:15:39Z")

</div>

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

---

_[View the full topic](https://discuss.elastic.co/t/gridster-resize-listener/73352)._
