Web Component: j-iFrame
j-iFrame
The component renders another URL address (stored in the path
attribute) directly in the iframe. The biggest benefit is auto-resizing of the iframe element according to the parent
selector.
- jComponent
v19|v20
Configuration:
parent
{String}
optional, a container selector (default:window
)scrollbar
{Boolean}
optional, enables native iframe scrolling (default:false
)margin
{Number}
optional, a vertical margin (default:0
)- NEW:
marginxs
{Number}
optional, a vertical margin for extra small display - NEW:
marginsm
{Number}
optional, a vertical margin for small display - NEW:
marginmd
{Number}
optional, a vertical margin for medium display - NEW:
marginlg
{Number}
optional, a vertical margin for large display - NEW:
message
{String}
optional, a link to thefunction(msg)
- NEW:
ready
{String}
optional, a link to thefunction(com)
when the iframe is ready - NEW:
autohide
{Boolean}
optional, addshidden
class if the iframe is blank
Methods:
- NEW:
SETTER('iframe/send',
{ your_message_data })
for sending message to the iframe
Author
- Peter Širka petersirka@gmail.com
- License
Created
31. march 2023
Updated
10. april 2025
jComponent library
19 | 20
Version
v1
License
https://www.totaljs.com/license/
Responsive
No
Author
Peter Širka
Email
petersirka@gmail.com
