Skip to content

jagermesh/js-link-previewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Link Previwer

Simple, lightweight pure JavaScript component that adds a link preview functionality.

Demo

https://jagermesh.github.io/js-link-previewer/

Usage:

  1. Include the script:
<script type="text/javascript" src="link-previewer.js"></script>
  1. Create Link Previwer instance
const linkPreviewer = new LinkPreviewer();
  1. Attach to selector
linkPreviewer.attach('a');

That's all.

Have fun. Send PR if you find any glitches or want to make improvements.

:)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published