You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
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.18
Source
npmnpm
Version published
Weekly downloads
7
-84.09%
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
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

vue

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