This commit is contained in:
21
ayanova/src/components/phone-control.vue
Normal file
21
ayanova/src/components/phone-control.vue
Normal file
@@ -0,0 +1,21 @@
|
||||
<template>
|
||||
<v-text-field
|
||||
v-bind="$attrs"
|
||||
v-on="$listeners"
|
||||
type="tel"
|
||||
prepend-icon="$ayiPhoneAlt"
|
||||
@click:prepend="dial"
|
||||
></v-text-field>
|
||||
</template>
|
||||
<script>
|
||||
/* Xeslint-disable */
|
||||
|
||||
export default {
|
||||
methods: {
|
||||
dial() {
|
||||
console.log(this.$el.attributes.value);
|
||||
//alert("DIAL");
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
Reference in New Issue
Block a user