Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

layui-layer

sentsin440ISC1.0.9TypeScript support: definitely-typed

npm version of layui-layer

layer, layui, dialog, prompt

readme

layui Layer

A npm version of layerjs from layui

Install with npm:

npm i --save layui-layer

use with node

require("layui-layer");
layer.alert('Great!');

when require layerui-layer, layer becomes a global object.

The styles are packed together

usage for web

    <script src="../dist/layer.js"></script>

The styles are packed together

layer.alert('Great!');

find more at http://www.layui.com/doc/modules/layer.html