m-action

0.0.1 • Public • Published

Action for mobile

Get Start : https://hwgq2005.github.io/m-action

Downloads Version License

Introduce

Action for mobile

Install

npm install m-action  

Usage

var Action = require('m-action');
Action({
	id:'action',
	summary:'这是一段短文',
	actions:[{
		name:'确定',
		callback:function(){

		}
	},{
		name:'返回上一步',
		callback:function(){
			
		}
	}],
	complete:function(){
		// do something ...				
	},

	cancel:function(){
		// do something ...
	}
})

CDN

Contact

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i m-action

Weekly Downloads

0

Version

0.0.1

License

MIT

Last publish

Collaborators

  • hwgq2005