We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b01316b + 1d3a181 commit 7665b6eCopy full SHA for 7665b6e
src/components/NcAppNavigationToggle/NcAppNavigationToggle.vue
@@ -55,6 +55,11 @@ export default {
55
},
56
57
props: {
58
+ /**
59
+ * Tracks whether the toggle has been clicked or not.
60
+ * If it has been clicked, switches between the different MenuIcons
61
+ * and emits a boolean indicating its opened status
62
+ */
63
open: {
64
type: Boolean,
65
required: true,
@@ -69,6 +74,10 @@ export default {
69
74
70
75
71
76
methods: {
77
78
+ * Once the toggle has been clicked, emits the toggle status
79
+ * so parent components can gauge the status of the navigation button
80
72
81
toggleNavigation() {
73
82
this.$emit('update:open', !this.open)
83
0 commit comments