Generated wrapper for the Web Awesome wa-zoomable-frame component.
Generated from Web Awesome metadata.
Usage
wa_zoomable_frame(
...,
id = NULL,
class = NULL,
style = NULL,
allowfullscreen = NULL,
dir = NULL,
lang = NULL,
loading = NULL,
referrerpolicy = NULL,
sandbox = NULL,
src = NULL,
srcdoc = NULL,
with_theme_sync = NULL,
without_controls = NULL,
without_interaction = NULL,
zoom = NULL,
zoom_levels = NULL,
zoom_in_icon = NULL,
zoom_out_icon = NULL
)Arguments
- ...
Child content for the component's default slot.
- id
Optional DOM id attribute for HTML, CSS, and JS targeting.
- class
Optional CSS class string.
- style
Optional inline CSS style string.
- allowfullscreen
Boolean. Default:
FALSE. Allows fullscreen mode.- dir
String. Optional Web Awesome attribute.
- lang
String. Optional Web Awesome attribute.
- loading
Enumerated string. Allowed values:
eager,lazy. Default:eager. Controls iframe loading behavior.- referrerpolicy
String. Controls referrer information.
- sandbox
String. Security restrictions for the iframe.
- src
String. The URL of the content to display.
- srcdoc
String. Inline HTML to display.
- with_theme_sync
Boolean. Default:
FALSE. Enables automatic theme syncing (light/dark mode and theme selector classes) from the host document to the iframe.- without_controls
Boolean. Default:
FALSE. Removes the zoom controls.- without_interaction
Boolean. Default:
FALSE. Disables interaction when present.- zoom
Number. Default:
1. The current zoom of the frame, e.g. 0 = 0% and 1 = 100%.- zoom_levels
String. Default:
25% 50% 75% 100% 125% 150% 175% 200%. The zoom levels to step through when using zoom controls. This does not restrict programmatic changes to the zoom.- zoom_in_icon
The slot that contains the zoom in icon.
- zoom_out_icon
The slot that contains the zoom out icon.