1.0.6 • Published 4 years ago

@lugindev/brohelper v1.0.6

Weekly downloads
12
License
MIT
Repository
github
Last release
4 years ago

Brohelper

Brohelper - browser helper. A set of simple helper methods with information about the browser and device.

This is a set of ES6 modules

Install

npm i @lugindev/brohelper
import * as brohelper from '@lugindev/brohelper'
//or
import { methodName } from '@lugindev/brohelper'

Methods

methodNamereturndesc
browserScrollBarWidth()NumberBrowser scrollbar width
browserIsIE()BooleanBrowser is Internet Explorer
browserIsEdge()BooleanBrowser is Edge
deviceIsMac()BooleanDetect MacOS. This method return true also for iPad Pro
deviceIsWin()BooleanDetect Windows OS
deviceUseCursor()BooleanCheck user devise use cursor(mouse) or not

Will be supplemented ...

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago