Module Os_platform
About device platform.
type t = | Android| IPhone| IPad| IPod| IWatch| BlackBerry| Windows| Unknown
Platform type.
val t_of_string : string -> tval string_of_t : t -> stringval css_class : t -> stringReturn "os-platform" where platform is the device platform.
CSS class for IPhone, IPad, IWatch and IPod is "os-ios".
If the platform is Unknown, it returns "os-unknown-platform".