@phun-ky/frameport / config/generate-viewports
▸ generateViewports(target
, options
): void
Generate multiple iframe elements for different viewports and append them to a target element.
Name | Type | Description |
---|---|---|
target |
HTMLElement |
The target HTML element to insert iframes after. |
options |
FrameportOptions |
The options for generating the iframes. |
void