pub fn is_mobile(ctx: &Context) -> bool
Expand description

Detect narrow screens. This is used to show a simpler UI on mobile devices, especially for the web demo at https://egui.rs.