Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
lite-iframe
Advanced tools
A web component which enhances user experience by lazy loading iframes and providing a better fallback user interface
View Demo
·
Report Bug
·
Request Feature
To get a local copy up and running follow these simple steps.
npm install lite-iframe
lite-iframe
component file in your project root.import 'lite-iframe';
OR
<script
src="https://unpkg.com/lite-iframe@0.2.0/dist/lite-iframe.esm.js"
type="module"
></script>
You can use lite-iframe
like normal iframe.
<!-- Codepen -->
<lite-iframe
scrolling="no"
title="Piccalilli CSS Utility — Issue #2 — Full bleed utility"
src="//codepen.io/andybelldesign/embed/Nmxrwv/?height=300&theme-id=dark&default-tab=css,result"
frameborder="no"
allowtransparency="true"
allowfullscreen="true"
>
</lite-iframe>
<!-- Youtube -->
<lite-iframe
type="youtube"
src="https://www.youtube.com/embed/lzQyH-nX0u0"
></lite-iframe>
For live example, please see the demo
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
git checkout -b feature/AmazingFeature
)git commit -m 'Add some AmazingFeature'
)git push origin feature/AmazingFeature
)Distributed under the MIT License. See LICENSE
for more information.
Annamalai Saravanan - @asvny_
Project Link: https://github.com/asvny/lite-iframe
FAQs
Unknown package
We found that lite-iframe demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.