Skip to main content

Module platform

Module platform 

Source
Expand description

Runtime platform conventions shared by widgets.

Native builds default from the compiled target. WASM hosts can override this after inspecting the browser’s client platform so shortcuts display and match the user’s operating system rather than the wasm32 compile target.

Enums§

Platform

Functions§

command_modifier_pressed
command_modifier_released
current_platform
platform_from_name
primary_modifier_label
set_platform