0.0.1 • Published 7 years ago

m-action v0.0.1

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

Action for mobile

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

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