2.0.8 • Published 4 years ago

ht2-business-directory v2.0.8

Weekly downloads
28
License
MIT
Repository
github
Last release
4 years ago

Hiretrades Business Directory - Plugin

Installation

1. Install

yarn add ht2-business-directory@2.0.8
# or
npm i ht2-business-directory@2.0.8 --save

2. Plug-in

import HiretradesBusinessDirectory from 'ht2-business-directory'

Vue.use(HiretradesBusinessDirectory)

new Vue({
  // your vue config
  directorySettings: new HiretradesBusinessDirectory(),
})

3. Use in your components

<template>
  <ht2-business-directory 
    :category_id='29' 
    state='WA' 
    suburb='PERTH' 
    :nearby='100'
    :itemsperpage='9' 
    headertext='Business Directory - Air Con'
  />
</template>

4. Props

    headertext: { 
      type: String
    },
    profileurl: {
      type: String,
      default: 'https://www.hiretrades.com.au/profile/'
    },
    category: {
      type: Number,
      default: 29
    },
    suburb: {
      type: String
    },
    state: {
      type: String
    },
    lat: {
      type: Number
    },
    lon: {
      type: Number
    },
    itemsperpage: {
      type: Number,
      default: 9
    },
    nearby: {
      type: Number,
      default: 50
    },
    showlocationdetails: {
      type: Boolean,
      default: false
    },
    shadowclass: {
      type: Boolean,
      defrault: false
    },
    showtypetext: {
      type: Boolean,
      default: true
    },
    showdistancetext: {
      type: Boolean,
      default: true
    }

DEMO URL

http://ht2-dev.hiretrades.com.au/testbusinessdirectory/
# or

git clone https://github.com/JosephMendez/ht2-business-directory

cd ht2-business-directory

and run command

yarn examples:ht2businessdirectory

# or
npm install
npm run examples:ht2businessdirectory

License

MIT

2.0.8

4 years ago

2.0.7

4 years ago

2.0.6

4 years ago

2.0.5

4 years ago

2.0.4

4 years ago

2.0.3

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago