You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
403 B
17 lines
403 B
import { onMounted, ref, computed, watch, nextTick } from "vue";
|
|
|
|
const html = (v) => { return v[0] };
|
|
|
|
export default {
|
|
props: ['modelValue'],
|
|
setup(props) {
|
|
|
|
return { window }
|
|
},
|
|
template: html`
|
|
<input class="input element" :value="modelValue"
|
|
@input="$emit('update:modelValue', $event.target.value)" @focus="window.setTimeout (function(){
|
|
$event.target.select();
|
|
},1);">
|
|
`
|
|
}
|
|
|