0.9.0 • Published 4 years ago
vue-spotlight v0.9.0
Vue spotlight
A macOS Spotlight like widget for websites with Vue
Installation
npm install vue-spotlight -S
Demo
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
0.9.0
4 years ago