Skip to content

Commit

Permalink
fix(NcPopover): Wrong JSDoc comment and missing default and type for …
Browse files Browse the repository at this point in the history
…`setReturnFocus` property

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
  • Loading branch information
susnux committed Feb 17, 2023
1 parent 61409e1 commit 655bc0c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/NcPopover/NcPopover.vue
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,11 @@ export default {
/**
* Set element to return focus to after focus trap deactivation
*
* @type {import('focus-trap').Options['setReturnFocus']}
* @type {import('focus-trap').FocusTargetValueOrFalse}
*/
setReturnFocus: {
required: false,
default: undefined,
type: [Object, String, Function, Boolean],
},
},
Expand Down

0 comments on commit 655bc0c

Please sign in to comment.