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