2.1.5 • Published 7 years ago

modal-box-message v2.1.5

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

Modal Box Message

Simply a Modal Box that display a message with customizable style BUGFIX RESOLVED (css don't load)

Getting Started

npm install modal-box-message --save

Simple Use

get boxclass from module

var alertClass = require("./ModalBoxMessage.js").ModalBoxMessage;
var alert = new alertClass("Error", "anonymous function thrown an error!");
alert.Open();

Here Example

Styling

for styling Box class automatically insert a tag

<link rel="stylesheet" href="../node_modules/Modal-Box-Input/dist/ModalBoxInput.css">

if your path is different you can use

currentCssFile = "../node_modules/Modal-Box-Input/dist/ModalBoxInput.css";
public setCssFileName(filename:string)//currentCssFile ="../node_modules/Modal-Box-Input/dist/[filename]";
public setCssFilePath(filepath:string)//currentCssFile = "../[filepath]/ModalBoxInput.css";
public setCssBasePath(filebase:string)//currentCssFile = "[filebase]node_modules/Modal-Box-Input/dist/ModalBoxInput.css";

to set a different location for css stylesheet or copy ModalBoxInput.css in your index folder and set css file so:

public setCssFile(filepath:string)//currentCssFile = [filepath];

Documentation

Documentation Here

Built With

Typescript

Browserify

Gulp

Stylus

Author

Luigi Senzamici

License

This project is licensed under the MIT License

2.1.5

7 years ago

2.1.4

7 years ago

2.1.3

7 years ago

2.1.2

7 years ago

2.1.1

7 years ago

2.1.0

7 years ago

2.0.9

7 years ago

2.0.8

7 years ago

2.0.7

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago