mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-09 13:14:24 +08:00
Minor formatting for JSDoc comments
Added a number of minor formatting changes to JSDoc comments in /src
This commit is contained in:
@@ -58,7 +58,7 @@ export default {
|
||||
this.modal.show();
|
||||
},
|
||||
/**
|
||||
* @emits "yes" - Notify the parent when Yes is pressed
|
||||
* @emits string "yes" Notify the parent when Yes is pressed
|
||||
*/
|
||||
yes() {
|
||||
this.$emit("yes");
|
||||
|
@@ -13,7 +13,7 @@ dayjs.extend(relativeTime);
|
||||
|
||||
export default {
|
||||
props: {
|
||||
/** Value of data time */
|
||||
/** Value of date time */
|
||||
value: {
|
||||
type: String,
|
||||
default: null,
|
||||
|
@@ -125,7 +125,7 @@ export default {
|
||||
window.removeEventListener("scroll", this.onScroll);
|
||||
},
|
||||
methods: {
|
||||
/** Called when the user scrolls */
|
||||
/** Handle user scroll */
|
||||
onScroll() {
|
||||
if (window.top.scrollY <= 133) {
|
||||
this.windowTop = window.top.scrollY;
|
||||
|
@@ -29,7 +29,7 @@
|
||||
<script>
|
||||
export default {
|
||||
props: {
|
||||
/** Heading of the Section */
|
||||
/** Heading of the section */
|
||||
heading: {
|
||||
type: String,
|
||||
default: "",
|
||||
|
@@ -15,7 +15,7 @@ export default {
|
||||
type: String,
|
||||
default: null,
|
||||
},
|
||||
/** Is this a pill */
|
||||
/** Is this a pill? */
|
||||
pill: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
|
Reference in New Issue
Block a user