Os_platformSourceinclude module type of struct include Os.Platform endPlatform 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".