Skip to content
This repository was archived by the owner on Jan 21, 2024. It is now read-only.

Repository files navigation

ajanuw-browser-platform

检测浏览器类型

example

const { Platform } = BrowserPlatform;
console.log(new Platform());

Platform

 class Platform {
    isBrowser: boolean;
    EDGE: boolean;
    TRIDENT: boolean;
    BLINK: boolean;
    WEBKIT: boolean;
    IOS: boolean;
    FIREFOX: boolean;
    ANDROID: boolean;
    SAFARI: boolean;
}

See alse:

About

检测浏览器类型

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages