ums-api

1.2.27 • Public • Published

ums-api

银商新一代移动端混合模式开发框架API.

Links

Installation

npm install ums-api

Usage

Use ums-api in vue file (.vue)

<script>
import umsApi from 'ums-api'

export default {
	methods: {
		// toast a message
		toastMessage: function(message) {
			umsApi.modal.toast(message);
		}
	}
}

</script>

Modules

  • camera
  • geolocation
  • media
  • modal
  • recorder
  • network
  • device
  • actionsheet
  • animation
  • picker
  • meta
  • clipboard
  • dom
  • navigator
  • storage
  • webview
  • path
  • umsPlugin

Supported Platforms

  • Android

License

MIT

Package Sidebar

Install

npm i ums-api

Weekly Downloads

3

Version

1.2.27

License

MIT

Unpacked Size

118 kB

Total Files

57

Last publish

Collaborators

  • ums_opensource