ocsigen-start.client
Os.Platform
About device platform.
ocsigen-start.server
type t =
| Android
| IPhone
| IPad
| IPod
| IWatch
| BlackBerry
| Windows
| Unknown
Platform type.
val t_of_string : string -> t
val string_of_t : t -> string
val css_class : t -> string
Return "os-platform" where platform is the device platform.
"os-platform"
platform
CSS class for IPhone, IPad, IWatch and IPod is "os-ios".
IPhone
IPad
IWatch
IPod
"os-ios"
If the platform is Unknown, it returns "os-unknown-platform".
Unknown
"os-unknown-platform"