MCPcopy Create free account

hub / github.com/Automattic/gravatar / functions

Functions15 in github.com/Automattic/gravatar

↓ 5 callersFunction__
(i18n: Record<string, string>, key: string)
web/packages/hovercards/src/i18n.ts:1
↓ 5 callersFunctionescHtml
(str: string)
web/packages/hovercards/src/sanitizer.ts:1
↓ 4 callersFunctionescUrl
(url: string)
web/packages/hovercards/src/sanitizer.ts:17
↓ 2 callersMethod_hideHovercard
* Waits for a specified delay and hides the hovercard. * * @param {string} id - The ID associated with the hovercard. * @return {void} * @priv
web/packages/hovercards/src/core.ts:442
↓ 2 callersFunctionattach
(target, opts)
web/packages/hovercards/playground/core.ts:19
↓ 2 callersFunctionuseHovercards
({ placement, offset, autoFlip, delayToShow, delayToHide, additionalClass, myHash, i18n, onQueryHover
web/packages/hovercards/src/use-hovercards.ts:13
↓ 1 callersMethod_createHovercardSkeleton
* Creates a skeleton hovercard element. * * @return {HTMLDivElement} The created skeleton hovercard element.
web/packages/hovercards/src/core.ts:205
↓ 1 callersMethod_handleMouseEnter
* Handles the mouseenter event for hovercard refs. * * @param {MouseEvent} e - The mouseenter event object. * @param hov
web/packages/hovercards/src/core.ts:463
↓ 1 callersMethod_handleMouseLeave
* Handles the mouseleave event for hovercard refs. * * @param {MouseEvent} e - The mouseleave event object. * @param
web/packages/hovercards/src/core.ts:484
↓ 1 callersMethod_queryHovercardRefs
* Queries hovercard refs on or within the target element * * @param {HTMLElement} target - The element to query. * @param {string}
web/packages/hovercards/src/core.ts:137
↓ 1 callersMethod_showHovercard
* Waits for a specified delay and fetches the user's profile data, * then shows the hovercard relative to the ref element. * * @param {Hovercard
web/packages/hovercards/src/core.ts:320
FunctionApp
()
web/packages/hovercards/playground/react.tsx:16
FunctionHovercards
({ children, attach, dataAttributeName, ignoreSelector, className, style, ...options }: HovercardsProps
web/packages/hovercards/src/hovercards.tsx:18
FunctioncomputingPosition
( ref: HTMLElement, card: HTMLDivElement, { placement = 'right', offset = 0, autoFlip = true }: Options = {
web/packages/hovercards/src/compute-position.ts:43
Methodconstructor
({ placement = 'right', autoFlip = true, offset = 10, delayToShow = 500, delayToHide = 300, additi
web/packages/hovercards/src/core.ts:96