🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

screen-pl

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

screen-pl

移动设备WEB横屏或竖屏显示模式提示,现代浏览器版本判断,mobile screen portrait or landscape,Support android version 4.4+ and ios advanced version,Modern browser version judgment

latest
npmnpm
Version
1.0.4
Version published
Weekly downloads
12
140%
Maintainers
1
Weekly downloads
 
Created
Source

screen-PL.js

A JavaScript min library,You can use it in the mobile device browser , Configure the mode of landscape or portrait display for the mobile device interface,Support android version 4.4+ and ios advanced version. It can also be used as a browser version query,Support for modern browsers IE11+,Edge,Chrome,Firefox,Safari,webkit system.

Install

npm install screen-pl --save

Usage

The package adds a global variable, which is a method that is started by default in portrait mode,landscape mode is required for startup [true,false], PC mode is required for startup [false].

###JavaScript:

var screenpl = require('screen-pl');

or

import screenpl from 'screen-pl';

screenpl();

###css The background can be custom

background-image:url('');

Keywords

portrait

FAQs

Package last updated on 08 Dec 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts