Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-input-search

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-input-search

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

  • 0.0.20
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-85.71%
Maintainers
1
Weekly downloads
 
Created
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

Package last updated on 25 Nov 2019

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc