Nucleus Powered Mitochondria

    @volizik/simple-vue-tooltip

    1.0.8 • Public • Published

    simple-vue-tooltip

    This is a simple tooltip directive for vue!

    • Npm installing:
      npm install @volizik/simple-vue-tooltip

    • Installing into Vue:

    import Vue from 'vue'
    import tooltip from '@volizik/simple-vue-tooltip'
    
    Vue.directive(tooltip)
    
    • Add styles:
    <style lang="scss">
    @import '~@volizik/simple-vue-tooltip/styles/tooltip';
    ...
    </style>
    
    • Usage
    <button v-tooltip.right.bottom="I am your tooltip">Hover me!</button>
    
    • Options: left | right | bottom | top
    • Shown only on hover

    Install

    npm i @volizik/simple-vue-tooltip

    DownloadsWeekly Downloads

    9

    Version

    1.0.8

    License

    ISC

    Unpacked Size

    7.89 kB

    Total Files

    5

    Last publish

    Collaborators

    • volizik