open-type.js 580 B

12345678910111213141516171819202122232425
  1. export const openType = Behavior({
  2. properties: {
  3. openType: String,
  4. },
  5. methods: {
  6. bindGetUserInfo(event) {
  7. this.$emit('getuserinfo', event.detail);
  8. },
  9. bindContact(event) {
  10. this.$emit('contact', event.detail);
  11. },
  12. bindGetPhoneNumber(event) {
  13. this.$emit('getphonenumber', event.detail);
  14. },
  15. bindError(event) {
  16. this.$emit('error', event.detail);
  17. },
  18. bindLaunchApp(event) {
  19. this.$emit('launchapp', event.detail);
  20. },
  21. bindOpenSetting(event) {
  22. this.$emit('opensetting', event.detail);
  23. },
  24. },
  25. });