1.5.32 • Published 3 years ago

vue-dadata-bs v1.5.32

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Vue Dadata

Publish gitlocalized

It's a vue component for hinting addresses using DaData.ru.

Link to RU documentation

Install

npm package

$ npm install vue-dadata-bs --save

Usage

Global

import VueDadata from 'vue-dadata-bs'

Vue.use(VueDadata)

Local

<template>
  <div id="app">
    <vue-dadata token="dadata_api_key"></vue-dadata>
  </div>
</template>

<script>
  import VueDadata from 'vue-dadata'

  export default {
    name: 'VueDadataTest',
    components: {
      'vue-dadata': VueDadata
    }
  }
</script>

Properties

PropRequiredTypeDescription
tokenYesstringAuth token DaData.ru
placeholderNostringText placeholder
queryNostringInitial state input field
autoloadNobooleanIf true, then a request for tips will be initialed in the background in the created hook
onChangeNofunction(suggestion: DadataSuggestion) -> voidFunction called when selecting a tooltip
autocompleteNostringAutocomplete field
defaultClassNostringDefault class ofr component, default value - vue-dadata
classesNostringExtra classes
inputNameNostringInput name attribute
fromBoundNostringDadata bound type FROM
toBoundNostringDadata bound type TO
highlightClassNameNostringCSS class name applied to highlighted text
unhighlightClassNameNostringCSS class name applied to unhighlighted text
highlightTagNostringType of tag to wrap around highlighted matches; defaults to mark but can also be a component
locationOptionsNoobjectLocation options for choosing cities or countries

Dependencies

Issue Reporting

If you have found a bug or if you have a feature request, please report them at this repository issues section.

ToDo

Show project Vue Dadata

Milestones

Show milestones

CHANGELOG

CONTRIBUTING

LICENSE

1.5.32

3 years ago

1.4.30

3 years ago

1.4.29

3 years ago

1.4.28

3 years ago

1.4.27

3 years ago

1.4.26

3 years ago

1.4.25

3 years ago

1.4.24

3 years ago

1.4.23

3 years ago

1.4.22

3 years ago

1.4.21

3 years ago

1.4.20

3 years ago

1.4.19

3 years ago

1.4.18

3 years ago

1.4.17

3 years ago

1.4.16

3 years ago

1.4.15

3 years ago

1.4.13

3 years ago

1.4.12

3 years ago

1.4.11

3 years ago