LayerPro by Dario Passariello
LayerPro give you a complete new way to customize web popups on your application. LP permit you also to have custom alert, promps, confirm and message and override the ugly browser popup.
Please, read the LICENSE agreement before to implementing in your application.
You can see an HTML version where dpHelper and LayerPro works. You can use with html, react, vue or any other frontend / library.
npm i layerpro --save-dev
or update:
npm i layerpro@latest --save-dev
in the index (and only there):
import "layerpro";
or
require("layerpro");
note: you don't need to use npm install in this case or you get an error
<script src="https://unpkg.com/layerpro@latest/index.js"></script>
type 'layerpro' in your console to have a look about all available tools that you can use globaly! You can call these from everywhere without import (just one at index). If you type alert("hello, world!") you can see the result.
Another use:
layerpro.popup.open({
id: "test",
name: "Say hello dear!",
body: "Hello, World!",
icon: "✎",
width: 350,
height: 200,
maximize: false,
close: true,
top: "50%",
left: "50%",
raised: false,
movable: true,
resizable: false,
});
copyright (c) 2019 - 2023 by Dario Passariello