🚀 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

npmnpm
Version
1.0.2
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

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. If landscape mode is required for startup, the output object of the method is three property keys (screen, android, ios), and the parameters accept Boolean values. Landscape mode is true, and portrait mode is false or no.

###JavaScript:

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

screen-pl();

###css The background can be customized

background-image:url('');

Keywords

portrait

FAQs

Package last updated on 09 Oct 2019

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