Skip to content

Commit a546009

Browse files
docs: fix popover JSDoc to use correct parameter name (#7938) (#7940)
Co-authored-by: Serhii Kulykov <iamkulykov@gmail.com>
1 parent 7870ba8 commit a546009

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/popover/src/vaadin-popover.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ declare class Popover extends PopoverPositionMixin(
9393
* Sets the default hover delay to be used by all popover instances,
9494
* except for those that have hover delay configured using property.
9595
*/
96-
static setDefaultHoverDelay(delay: number): void;
96+
static setDefaultHoverDelay(hoverDelay: number): void;
9797

9898
/**
9999
* String used to label the overlay to screen reader users.

packages/popover/src/vaadin-popover.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ class Popover extends PopoverPositionMixin(
415415
* Sets the default focus delay to be used by all popover instances,
416416
* except for those that have focus delay configured using property.
417417
*
418-
* @param {number} delay
418+
* @param {number} focusDelay
419419
*/
420420
static setDefaultFocusDelay(focusDelay) {
421421
defaultFocusDelay = focusDelay != null && focusDelay >= 0 ? focusDelay : DEFAULT_DELAY;
@@ -435,7 +435,7 @@ class Popover extends PopoverPositionMixin(
435435
* Sets the default hover delay to be used by all popover instances,
436436
* except for those that have hover delay configured using property.
437437
*
438-
* @param {number} delay
438+
* @param {number} hoverDelay
439439
*/
440440
static setDefaultHoverDelay(hoverDelay) {
441441
defaultHoverDelay = hoverDelay != null && hoverDelay >= 0 ? hoverDelay : DEFAULT_DELAY;

0 commit comments

Comments
 (0)