Function: setIframeAspectRatios()
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