import { Weapp } from "definitions/weapp"; export const openType = Behavior({ properties: { openType: String }, methods: { bindGetUserInfo(event: Partial) { this.$emit('getuserinfo', event.detail); }, bindContact(event: Partial) { this.$emit('contact', event.detail); }, bindGetPhoneNumber(event: Partial) { this.$emit('getphonenumber', event.detail); }, bindError(event: Partial) { this.$emit('error', event.detail); }, bindLaunchApp(event: Partial) { this.$emit('launchapp', event.detail); }, bindOpenSetting(event: Partial) { this.$emit('opensetting', event.detail); }, } });