Jump To:

  1. utils/iframe.getSoleIframeLayout(container) ⇒ Object | null

utils/iframe

utils/iframe.getSoleIframeLayout(container) ⇒ Object | null

Checks if an element's sole content is an iframe, and determines its layout type. Useful for determining if layout fixes should be applied to containers.

Kind: static method of utils/iframe
Returns: Object | null - Returns an object with iframe details, or null if not a sole iframe

Param Type Description
container HTMLElement The container to check