Socket
Socket
Sign inDemoInstall

vue-input-search

Package Overview
Dependencies
16
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    vue-input-search

![input vue search](input-vue-search.jpg) ## inp-v-search


Version published
Weekly downloads
43
increased by1333.33%
Maintainers
1
Install size
15.3 MB
Created
Weekly downloads
 

Readme

Source

input vue search

Live

vue search input

Installation

npm i vue-input-search

Default import

Install all the components:


import 'vue-input-search/dist/vue-search.css'
import VueSearch from 'vue-input-search/dist/vue-search.common'

const app = new Vue({
    el: '#app',
    components:{
        'vue-search':VueSearch
    }
}
<vue-search 
    :img-photo="'path-img'" 
    @newitem="newitem()" 
    @itemselected="itemselected($event)" 
    :source-field="'name'" 
    :show-new-botton="true"
    :search-by-field="false"
    :api-source="'https://url-data-source'"
    ></vue-search>

Settings

OptionTypeDefaultDescription
placeholderString''Placeholder text
showNewBottonBooleantrueShow or not the new bottom
isRequiredBooleanfalseis required
enableClassBaseBooleantrueShow or not 'content-input'
searchByFieldBooleantrueEnable find by field name of datasource
txtNotFoundString'No one found with that name'Text when there is no data
txtBtnNewString'Create A New Element'Text of new button
inputClassObject{}Custom class css {'form-control':true}
modelString''Model
imgPhotoString''Image of circle list element
ApiSourceString''Acces point API
SourceFieldString'name'If searchByField is true use this

Keywords

FAQs

Last updated on 25 Nov 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc