1.0.0 • Published 4 years ago
vue-meow-highlight v1.0.0
vue-meow-highlight
Install
npm install --save vue-meow-highlight
yarn add vue-meow-highlight
Usage
import Vue from 'vue'
import VueMeowHighlight from 'vue-meow-highlight'
Vue.use(VueMeowHighlight)
<highlight-text
content="foo bar baz"
query="ba"
/>
Development
npm install @vue/cli-service
npm install
npm run serve
Props
Name | Type | Default |
---|---|---|
query | string | '' |
content | string | '' |
ignoreCase | boolean | true |
palette | string[] | '#ffff00', '#00ff00', '#00ffff' |