Vue Component For Generating A Link Preview | link-prevue

link-prevue is a flexible component for generating a link preview.

Must Read: An Open-source Angular UI Library For Previewing Web Links

How to make use of it:

Installation

npm install link-prevue

Usage

import LinkPrevue from 'link-prevue'

new Vue({
  el: '#app',
  components: {
    LinkPrevue
  }
})
<div id="app">
  <link-prevue url="https://vuejs.org/"></link-prevue>
</div>

Props API

link-prevue has the following props for customizing the component

Must Read: A JavaScript Library to Display Link/URL Preview On Hover | Hyperlinks

PropTypeRequiredDefault ValueDescription
urlStringyesundefinedSite URL for generating a link preview
onButtonClickFunctionnoundefinedFunction for a custom button handler, params => prevue
cardWidthStringno‘400px’Card width, accept px and %
showButtonBooleannotrueRender card button
apiUrlStringnohttps://link-prevue-api-v2.herokuapp.com/preview/Custom API urlĀ check this

See Also –

A Vanilla JS Library to Show Preview Images on Hover
Simple Deep Links For Any Specific Text On Your Website
Scroll Down To Show The Anchor Link To Go To The Top With The Animation


See Demo And Download

Official Website(nivaldomartinez): Click Here

This superior jQuery/javascript plugin is developed by nivaldomartinez. For extra advanced usage, please go to the official website.

Related Posts

Floating-Whatsapp-Chat-Button

How to Add Floating Whatsapp Chat Button In HTML | venom-button

Venom Button is a very simple plugin for the jQuery floating WhatsApp button. Adds a floating button to your site that calls WhatsApp Click to Chat API. It will automatically start the WhatsApp…

Data-Table-Generator-Tabulator

Interactive Data Table Generator with JS/jQuery and JSON | Tabulator

Tabulator allows you to create interactive tables in seconds from any HTML Table, JavaScript array, AJAX data source, or JSON format data. Just include the library in your…

alert-confirm-prompt-attention-js

Simple Alert, Confirm, Prompt Popup Using Vanilla JavaScript Library | attention.js

JavaScript provides various built-in functionality to display popup messages for different purposes. Attention JS is a vanillaJS plugin used to create a custom alert, confirm, or Prompt…

Bootstrap-4-Toast-Notification-Plugin

Lightweight Bootstrap 4 Toast Notification Plugin | BS4 Advanced Toast

A lightweight Bootstrap 4 Toast Notification plugin integrated with JS/jQuery. bs4-toast.js is a JavaScript library that enhances the native Bootstrap toast component with icons, buttons, callbacks, and…

Audio-Visualizations-Wave

How to Create Audio Visualizations with JavaScript | Wave.js

Audio Visualizer Library – wave.js is a vanilla javascript audio visualization library that provides 20+ creative audio visualization effects to bring more engagement to your visitor. Contribute…

swiper-touch-slider

Modern Mobile Touch Slider With Acceleration Transitions | Swiper

Swiper is the most modern free mobile touch slider with accelerated device transitions and amazing original behavior. It is intended for use in mobile websites, mobile web…

Leave a Reply

Your email address will not be published. Required fields are marked *