<fluid-iframe>
Web Components which provides fluid width
<iframe>
.
Install
Using npm:
$ npm install fluid-iframe
Usage
Import FluidIframe
and register it as a custom element.
Put <fluid-iframe>
.
API
src
attribute
URL string which will be set as <iframe src>
.
title
attribute
Title string which will be set as <iframe title>
.
aspect
attribute
x/y
format string will be calculated for aspect ratio. Default value is 16/9
.