useOS
Identifies the user’s operating system (Windows, macOS, iOS, Android, etc.).
Identifies the user’s operating system (Windows, macOS, iOS, Android, etc.).
Basic usage example to quickly see how the useOS
works.
Browser | |
Device |
Styles API | Type | Default | Annotation |
---|---|---|---|
getValueInEffect? | boolean | string | false |
Full working code example, including necessary markup and styles. You can copy and paste this code directly to start using the component immediately.