Implementing Fullscreen in a Kibana plugin

I did not understand very well..

However, I just tried with the following code and It seems works:

import chrome from "ui/chrome";
...
chrome.setVisible(false);

What do you think about it?