q12
This commit is contained in:
@@ -2,11 +2,11 @@
|
|||||||
import Todo from '../todo';
|
import Todo from '../todo';
|
||||||
import { ref,defineProps, nextTick } from 'vue';
|
import { ref,defineProps, nextTick } from 'vue';
|
||||||
|
|
||||||
const props = defineProps<{ todo: Todo}>()
|
const props = defineProps<{todo: Todo}>()
|
||||||
|
|
||||||
const emit = defineEmits(['deleteTodo'])
|
const emit = defineEmits(['deleteTodo'])
|
||||||
|
|
||||||
//Q11
|
//Q11
|
||||||
const editing = ref(false);
|
const editing = ref(false);
|
||||||
const edited = ref(props.todo.titre);
|
const edited = ref(props.todo.titre);
|
||||||
const editInput = ref<HTMLInputElement>();
|
const editInput = ref<HTMLInputElement>();
|
||||||
|
|||||||
Reference in New Issue
Block a user