Please Disable Your Browser Adblock Extension for our site and Refresh This Page!

our ads are user friendly, we do not serve popup ads. We serve responsible ads!

Refresh Page
Skip to main content
On . By CodimTh

Example How to create component Tooltips in Vue.js


    <div v-show="false">

import PopperTooltip from 'tooltip.js';

export default {
    props: {
        name: {},
        placement: { default: 'top' },
        offset: { default: false }

    mounted() {
            .forEach(elem => {
                new PopperTooltip(elem, {
                    placement: this.placement,
                    title: this.$el.innerHTML,
                    offset: this.offset,
                    html: true


Example How to use this component

    Yo -
    <span data-tooltip-name="our-product">
      hover over me
    <tooltip name="our-products">
      <h1 class="mb-4">Our Products</h1>
      <p>Lorem ipsum.</p>

Riadh Rahmi

Senior Web Developer PHP/Drupal & Laravel

I am a senior web developer, I have experience in planning and developing large scale dynamic web solutions especially in Drupal & Laravel.

Web Posts


Page Facebook