mmjs

1.0.5 • Public • Published

mmjs

install

npm install mmjs

How to use

Script tag

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

Webpack

var MM = require("mmjs");

AMD

define(["mmjs"], function(MM) {

});

Demo


var m = new MM();
m.popBox({
	title:"标题",
	string:"内容呀内容内容呀内容内容呀内容内容呀内容内容呀内容!",
	type:2,
	callback:function(){
		console.log("callback function");
	}
});

Readme

Keywords

none

Package Sidebar

Install

npm i mmjs

Weekly Downloads

0

Version

1.0.5

License

ISC

Last publish

Collaborators

  • mamacn