Added the following Components / Component Features
Utilities
MediaQueryRender — Renders inner content to DOM, only when the specified Media Query is active.
<MediaQueryRender fallthrough={boolean}> — When true, always renders content in SSR environments, e.g. SvelteKit
<MediaQueryRender queries={string | string[]}> — Sets the Media Query / Queries to validate against.
<MediaQueryRender behavior="and/or"> — When you have use Media Queries, you can set MediaQueryRender to only render if both are true, or at least one is true.
CHANGELOG
Added the following Components / Component Features
Utilities
MediaQueryRender
— Renders inner content to DOM, only when the specified Media Query is active.<MediaQueryRender fallthrough={boolean}>
— Whentrue
, always renders content in SSR environments, e.g. SvelteKit<MediaQueryRender queries={string | string[]}>
— Sets the Media Query / Queries to validate against.<MediaQueryRender behavior="and/or">
— When you have use Media Queries, you can setMediaQueryRender
to only render if both aretrue
, or at least one istrue
.