Linting
This commit is contained in:
parent
f77542110e
commit
fb96568df4
1 changed files with 11 additions and 10 deletions
|
|
@ -1,7 +1,10 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<p>First, let's check your stage's z motor direction.</p>
|
<p>First, let's check your stage's z motor direction.</p>
|
||||||
<p>Looking at the exposed z gear from above, which way does it turn when you press and hold the button below?</p>
|
<p>
|
||||||
|
Looking at the exposed z gear from above, which way does it turn when you press and hold the
|
||||||
|
button below?
|
||||||
|
</p>
|
||||||
<div class="uk-margin uk-flex uk-flex-center">
|
<div class="uk-margin uk-flex uk-flex-center">
|
||||||
<button
|
<button
|
||||||
class="uk-button uk-button-primary jog-z-btn"
|
class="uk-button uk-button-primary jog-z-btn"
|
||||||
|
|
@ -43,6 +46,8 @@ export default {
|
||||||
ActionButton,
|
ActionButton,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
emits: ["advance", "awaiting-user"],
|
||||||
|
|
||||||
data: function () {
|
data: function () {
|
||||||
return {
|
return {
|
||||||
jogIntervalId: null,
|
jogIntervalId: null,
|
||||||
|
|
@ -51,7 +56,9 @@ export default {
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
emits: ["advance", "awaiting-user"],
|
mounted() {
|
||||||
|
this.$emit("awaiting-user", true);
|
||||||
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
jogZ(pointerEvent) {
|
jogZ(pointerEvent) {
|
||||||
|
|
@ -80,20 +87,14 @@ export default {
|
||||||
this.$emit("advance");
|
this.$emit("advance");
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
mounted() {
|
|
||||||
this.$emit("awaiting-user", true);
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less">
|
<style lang="less">
|
||||||
.jog-z-btn {
|
.jog-z-btn {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 0px 30px;
|
padding: 0 30px;
|
||||||
gap: 4px;
|
gap: 4px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue