Skip to content

Commit

Permalink
Fix jsdoc for some emitted events
Browse files Browse the repository at this point in the history
Signed-off-by: Ferdinand Thiessen <[email protected]>
  • Loading branch information
susnux committed Dec 4, 2022
1 parent 15e1391 commit 95fde50
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/NcBreadcrumb/NcBreadcrumb.vue
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ export default {
}
/**
* Event emitted when something is dropped on the breadcrumb.
*
* @type {null}
* @param {Event} event The DOM drop event
* @param {[String, Object]} to The `to` prop or, if not set, the `href` prop
*/
this.$emit('dropped', e, this.to || this.href)
this.$parent.$emit('dropped', e, this.to || this.href)
Expand Down
3 changes: 2 additions & 1 deletion src/components/NcBreadcrumbs/NcBreadcrumbs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,8 @@ export default {
/**
* Event emitted when something is dropped on the breadcrumb.
*
* @type {null}
* @param {Event} e the drop DOM event
* @param {string} path The path of the breadcrumb
*/
this.$emit('dropped', e, path)
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/NcListItem/NcListItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ export default {
},

/**
* Id for the <a> element
* Id for the `<a>` element
*/
anchorId: {
type: String,
Expand Down

0 comments on commit 95fde50

Please sign in to comment.