screen-pl

    1.0.4 • Public • Published

    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('');

    Install

    npm i screen-pl

    DownloadsWeekly Downloads

    4

    Version

    1.0.4

    License

    ISC

    Unpacked Size

    6.71 kB

    Total Files

    3

    Last publish

    Collaborators

    • guo_g