kit-platform

API

[class] KitPlatformService

@Injectable

Provided in:'root'

Platform specific helpers.

Members

SignatureDescription
isBrowser()

Shortcut to isPlatformBrowser method.

isServer()

Shortcut to isPlatformServer method.

getScrollbarWidth(): number

Calc native scroll width.

isBrowserEdge()
isBrowserTrident()
isBrowserBlink()
isBrowserWebkit()
isBrowserIos()
isBrowserFirefox()
isBrowserAndroid()
isBrowserSafari()