Class BlockerHeroInlineStyles
Methods
Static aspectRatioBackground
- aspectRatioBackground(__namedParameters: { blocker: { visualBlur: number; visualThumbnail: { url: string } }; customCss: { antiAdBlocker: YesNo } }): InlineStyleFunctionReturn<HTMLDivElement>
-
Parameters
-
__namedParameters: { blocker: { visualBlur: number; visualThumbnail: { url: string } }; customCss: { antiAdBlocker: YesNo } }
-
blocker: { visualBlur: number; visualThumbnail: { url: string } }
-
visualBlur: number
-
visualThumbnail: { url: string }
-
customCss: { antiAdBlocker: YesNo }
Static aspectRatioBackgroundWrapper
- aspectRatioBackgroundWrapper(__namedParameters: { blocker: { visualContentType: "map" | "video-player" | "audio-player" | "feed-text" | "feed-video" | "generic" }; customCss: { antiAdBlocker: YesNo } }): InlineStyleFunctionReturn<HTMLDivElement>
-
Parameters
-
__namedParameters: { blocker: { visualContentType: "map" | "video-player" | "audio-player" | "feed-text" | "feed-video" | "generic" }; customCss: { antiAdBlocker: YesNo } }
-
blocker: { visualContentType: "map" | "video-player" | "audio-player" | "feed-text" | "feed-video" | "generic" }
-
visualContentType: "map" | "video-player" | "audio-player" | "feed-text" | "feed-video" | "generic"
-
customCss: { antiAdBlocker: YesNo }
Static aspectRatioContainer
- aspectRatioContainer(__namedParameters: { blocker: { visualContentType: "map" | "video-player" | "audio-player" | "feed-text" | "feed-video" | "generic"; visualThumbnail: { hide: ("title" | "overlay")[]; titleType: "top" | "center" } }; customCss: { antiAdBlocker: YesNo } }): InlineStyleFunctionReturn<HTMLDivElement>
-
Parameters
-
__namedParameters: { blocker: { visualContentType: "map" | "video-player" | "audio-player" | "feed-text" | "feed-video" | "generic"; visualThumbnail: { hide: ("title" | "overlay")[]; titleType: "top" | "center" } }; customCss: { antiAdBlocker: YesNo } }
-
blocker: { visualContentType: "map" | "video-player" | "audio-player" | "feed-text" | "feed-video" | "generic"; visualThumbnail: { hide: ("title" | "overlay")[]; titleType: "top" | "center" } }
-
visualContentType: "map" | "video-player" | "audio-player" | "feed-text" | "feed-video" | "generic"
-
visualThumbnail: { hide: ("title" | "overlay")[]; titleType: "top" | "center" }
-
hide: ("title" | "overlay")[]
-
titleType: "top" | "center"
-
customCss: { antiAdBlocker: YesNo }
Static aspectRatioWholeClickable
-
Parameters
-
__namedParameters: { customCss: { antiAdBlocker: YesNo } }
-
customCss: { antiAdBlocker: YesNo }
Static aspectRatioWrapper
- aspectRatioWrapper(__namedParameters: { blocker: { isVisualDarkMode: boolean; visualContentType: "map" | "video-player" | "audio-player" | "feed-text" | "feed-video" | "generic"; visualThumbnail: { forceRatio: number; height: number; width: number } }; customCss: { antiAdBlocker: YesNo } }): InlineStyleFunctionReturn<HTMLDivElement>
-
Parameters
-
__namedParameters: { blocker: { isVisualDarkMode: boolean; visualContentType: "map" | "video-player" | "audio-player" | "feed-text" | "feed-video" | "generic"; visualThumbnail: { forceRatio: number; height: number; width: number } }; customCss: { antiAdBlocker: YesNo } }
-
blocker: { isVisualDarkMode: boolean; visualContentType: "map" | "video-player" | "audio-player" | "feed-text" | "feed-video" | "generic"; visualThumbnail: { forceRatio: number; height: number; width: number } }
-
isVisualDarkMode: boolean
-
visualContentType: "map" | "video-player" | "audio-player" | "feed-text" | "feed-video" | "generic"
-
visualThumbnail: { forceRatio: number; height: number; width: number }
-
forceRatio: number
-
height: number
-
width: number
-
customCss: { antiAdBlocker: YesNo }
Static defaultBlockerContainer
- defaultBlockerContainer(__namedParameters: { customCss: { antiAdBlocker: YesNo } }, isVisible: boolean, rect: DOMRect): InlineStyleFunctionReturn<HTMLDivElement>
-
Parameters
-
__namedParameters: { customCss: { antiAdBlocker: YesNo } }
-
customCss: { antiAdBlocker: YesNo }
-
isVisible: boolean
-
rect: DOMRect
Static defaultBlockerOverlay
-
Parameters
-
__namedParameters: { customCss: { antiAdBlocker: YesNo } }
-
customCss: { antiAdBlocker: YesNo }
-
isVisible: boolean
Static playButton
- playButton(__namedParameters: { blocker: { visualContentType: "map" | "video-player" | "audio-player" | "feed-text" | "feed-video" | "generic" }; customCss: { antiAdBlocker: YesNo } }, isHover: boolean): InlineStyleFunctionReturn<HTMLDivElement>
-
Parameters
-
__namedParameters: { blocker: { visualContentType: "map" | "video-player" | "audio-player" | "feed-text" | "feed-video" | "generic" }; customCss: { antiAdBlocker: YesNo } }
-
blocker: { visualContentType: "map" | "video-player" | "audio-player" | "feed-text" | "feed-video" | "generic" }
-
visualContentType: "map" | "video-player" | "audio-player" | "feed-text" | "feed-video" | "generic"
-
customCss: { antiAdBlocker: YesNo }
-
isHover: boolean
Static playButtonWrapper
- playButtonWrapper(__namedParameters: { blocker: { isVisualDarkMode: boolean; presetId: string; visualContentType: "map" | "video-player" | "audio-player" | "feed-text" | "feed-video" | "generic" }; bodyDesign: { acceptAllBg: BackgroundColor }; customCss: { antiAdBlocker: YesNo } }, isHover: boolean): InlineStyleFunctionReturn<HTMLDivElement>
-
Parameters
-
__namedParameters: { blocker: { isVisualDarkMode: boolean; presetId: string; visualContentType: "map" | "video-player" | "audio-player" | "feed-text" | "feed-video" | "generic" }; bodyDesign: { acceptAllBg: BackgroundColor }; customCss: { antiAdBlocker: YesNo } }
-
blocker: { isVisualDarkMode: boolean; presetId: string; visualContentType: "map" | "video-player" | "audio-player" | "feed-text" | "feed-video" | "generic" }
-
isVisualDarkMode: boolean
-
presetId: string
-
visualContentType: "map" | "video-player" | "audio-player" | "feed-text" | "feed-video" | "generic"
-
bodyDesign: { acceptAllBg: BackgroundColor }
-
acceptAllBg: BackgroundColor
-
customCss: { antiAdBlocker: YesNo }
-
isHover: boolean
Static title
- title(__namedParameters: { blocker: { isVisualDarkMode: boolean; presetId: string; visualContentType: "map" | "video-player" | "audio-player" | "feed-text" | "feed-video" | "generic"; visualThumbnail: { titleType: "top" | "center" } }; customCss: { antiAdBlocker: YesNo } }): InlineStyleFunctionReturn<HTMLDivElement>
-
Parameters
-
__namedParameters: { blocker: { isVisualDarkMode: boolean; presetId: string; visualContentType: "map" | "video-player" | "audio-player" | "feed-text" | "feed-video" | "generic"; visualThumbnail: { titleType: "top" | "center" } }; customCss: { antiAdBlocker: YesNo } }
-
blocker: { isVisualDarkMode: boolean; presetId: string; visualContentType: "map" | "video-player" | "audio-player" | "feed-text" | "feed-video" | "generic"; visualThumbnail: { titleType: "top" | "center" } }
-
isVisualDarkMode: boolean
-
presetId: string
-
visualContentType: "map" | "video-player" | "audio-player" | "feed-text" | "feed-video" | "generic"
-
visualThumbnail: { titleType: "top" | "center" }
-
titleType: "top" | "center"
-
customCss: { antiAdBlocker: YesNo }