Type aliases
BlockerMountCallback
Defined in builds/devowlio/devowl-wp/frontend-packages/headless-content-unblocker/src/visual/createVisual.tsx:45
Type parameters
Type declaration
Parameters
data: { blockedNode: HTMLElement ; blocker: ExtendedBlockerDefinition ; connectedCounter: number ; container: HTMLDivElement ; onClick: SetVisualAsLastClickedVisual ; paintMode: BlockerMountPaintMode ; thumbnail?: VisualThumbnail }
blockedNode: HTMLElement
blocker: ExtendedBlockerDefinition
connectedCounter: number
container: HTMLDivElement
Returns void
BlockerMountPaintMode
BlockerMountPaintMode: "instantInViewport" | "idleCallback" | "instant"
Defined in builds/devowlio/devowl-wp/frontend-packages/headless-content-unblocker/src/visual/createVisual.tsx:43
SetVisualAsLastClickedVisual
SetVisualAsLastClickedVisual: ( event?: { stopPropagation: ( ) => void } ) => void
Defined in builds/devowlio/devowl-wp/frontend-packages/headless-content-unblocker/src/visual/createVisual.tsx:41
Type declaration
( event?: { stopPropagation: ( ) => void } ) : void
Parameters
Optional event: { stopPropagation: ( ) => void }
stopPropagation: ( ) => void
Returns void
VisualConfiguration
VisualConfiguration: { id: number ; isVisual: boolean ; shouldForceToShowVisual?: boolean }
Defined in builds/devowlio/devowl-wp/frontend-packages/headless-content-unblocker/src/visual/createVisual.tsx:39
Type declaration
id: number
isVisual: boolean
Optional shouldForceToShowVisual?: boolean
VisualThumbnail
VisualThumbnail: { embedId?: string ; fileMd5?: string ; forceRatio?: number ; height: number ; hide?: ( "title" | "overlay" ) [] ; title?: string ; titleType?: "center" | "top" ; url: string ; width: number }
Defined in builds/devowlio/devowl-wp/frontend-packages/headless-content-unblocker/src/visual/createVisual.tsx:24
Type declaration
Optional embedId?: string
Optional fileMd5?: string
Optional forceRatio?: number
height: number
Optional hide?: ( "title" | "overlay" ) []
Optional title?: string
Optional titleType?: "center" | "top"
url: string
width: number
Defaults to
top
.