We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Subscribe to the appletHook to get a callback when the operation mode changes:
appletHook
void onAppletEvent(AppletHookType type, void* param) { if (type == AppletHookType_OnOperationMode) { bool docked = appletGetOperationMode() == AppletOperationMode_Console; // invoke JS function to trigger "resize" event } } // in main AppletHookCookie cookie; appletHook(&cookie, onAppletEvent, NULL);
window
preventDefault()
The text was updated successfully, but these errors were encountered:
FWIW: default behaviors for browsers is a resize event when maximizing the window
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Subscribe to the
appletHook
to get a callback when the operation mode changes:window
"resize" eventpreventDefault()
on the "resize" event?The text was updated successfully, but these errors were encountered: