Cocos Creator Fullscreen Toggle

Is there a way to toggle fullscreen on windows desktop build ?
I know about mobile fullscreen, but not with windows desktop. I looked at GLFW implementation in Aplication.cpp, and I can create it fullscreen using glfwGetPrimaryMonitor() :

GLFWwindow* window = glfwCreateWindow(640, 480, "My Title", glfwGetPrimaryMonitor(), NULL);

But it’s not a solution as I can’t switch it right.

Is there a solution or example that can help me ?