Function: setIframeAspectRatios()
Source: 1.0.0-rc.14 · a572916b42ec
ts
function setIframeAspectRatios(container?): void;Defined in: packages/valaxy/client/utils/iframe.ts:18
Make dimensioned iframes responsive without assuming a fixed video ratio. The generated custom property is consumed by the low-specificity markdown styles, so an author’s explicit height or aspect-ratio still takes priority.
Parameters
container?
ParentNode = document
Returns
void