layui-layer
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/layui-layer package

1.0.9 • Public • Published

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

Package Sidebar

Install

npm i layui-layer

Weekly Downloads

183

Version

1.0.9

License

ISC

Last publish

Collaborators

  • liuhan