Skip to content

Latest commit

 

History

History
50 lines (31 loc) · 812 Bytes

readme.md

File metadata and controls

50 lines (31 loc) · 812 Bytes

Vue spotlight

A macOS Spotlight like widget for websites with Vue

Installation

    npm install vue-spotlight -S

Usage

    import Spotlight from 'vue-spotlight'

    // register globally
    Vue.component('Spotlight', Spotlight)

    // or locally
    export default {
        components: { Spotlight}
    }

And then you can place it in your template

    <Spotlight field-name="symbol" :data-provider="dataProvider" :widget-open="open" :action="action" :match-renderer="renderer"/>

Props

Development

To start webpack in watch mode run:

    npm run dev

Author

Krisztian Papp @tacsiazuma

License

MIT