Skip to content
Snippets Groups Projects
Commit 064a6bdd authored by MUNIER Florian's avatar MUNIER Florian
Browse files

[add] clear_function

parent 52a78380
No related branches found
No related tags found
No related merge requests found
......@@ -19,6 +19,7 @@ const elements = ref([
"0",
"+",
"=",
"C",
]);
const parameter = ref({
......@@ -53,6 +54,10 @@ function onClick(e: any) {
previous_result_value.value = "";
operator.value = null;
}
else if (e === "C") {
result_value.value = "";
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment