Exposing 'resize' function on renderers #169

merged 1 commit into from May 4, 2015


None yet

2 participants


The existing X.renderer.onResize_ function is only called when the window resizes. If the container is a different element, there was no way to trigger a resize.

This commit adds a X.renderer.resize() function. It does the exact same thing as onResize_(), except that it is now publicly accessible and exported.

@haehn haehn merged commit 2a7f213 into xtk:master May 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment