Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix tooltip JSDoc to use correct parameter name (#7939) (CP: 24.4) #7942

Merged
merged 1 commit into from
Oct 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/tooltip/src/vaadin-tooltip-mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ export const TooltipMixin = (superClass) =>
* Sets the default focus delay to be used by all tooltip instances,
* except for those that have focus delay configured using property.
*
* @param {number} delay
* @param {number} focusDelay
*/
static setDefaultFocusDelay(focusDelay) {
defaultFocusDelay = focusDelay != null && focusDelay >= 0 ? focusDelay : DEFAULT_DELAY;
Expand All @@ -444,7 +444,7 @@ export const TooltipMixin = (superClass) =>
* Sets the default hover delay to be used by all tooltip instances,
* except for those that have hover delay configured using property.
*
* @param {number} delay
* @param {number} hoverDelay
*/
static setDefaultHoverDelay(hoverDelay) {
defaultHoverDelay = hoverDelay != null && hoverDelay >= 0 ? hoverDelay : DEFAULT_DELAY;
Expand Down
2 changes: 1 addition & 1 deletion packages/tooltip/src/vaadin-tooltip.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ declare class Tooltip extends TooltipMixin(ThemePropertyMixin(ControllerMixin(El
* Sets the default hover delay to be used by all tooltip instances,
* except for those that have hover delay configured using property.
*/
static setDefaultHoverDelay(delay: number): void;
static setDefaultHoverDelay(hoverDelay: number): void;
}

declare global {
Expand Down