1.2.6 • Published 2 years ago

@tehsurfer/map-side-bar v1.2.6

Weekly downloads
1
License
-
Repository
-
Last release
2 years ago

map-side-bar

npm version

This project aims to provide a sidebar for searching capability for SPARC portal.

Project installation

npm i @abi-software/map-side-bar

Project setup

npm install
npm run serve

Compiles and minifies for production

npm run build-bundle

How to use

Include the package in your script.

import '@abi-software/map-side-bar'
import '@abi-software/map-side-bar/dist/map-side-bar.css'

#Template The code should looks like this

<SideBar :envVars="envVars"
         :visible="sideBarVisibility"
         @actionClick="actionClick">
</SideBar>

envVars contains environment varibables like so:

{
  API_LOCATION: 'http://localhost:5000/',
  ALGOLIA_KEY: 'xxxxxxxxxxxxxxxxxxxxxxxxx',
  ALGOLIA_ID: 'xxxxx',
  ALGOLIA_INDEX: 'k-core_dev_published_time_desc',
}

actionClick event is called when an action button has benn clicked on.

1.3.28-staging

2 years ago

1.3.27-staging

2 years ago

1.3.28-staging-2

2 years ago

1.3.28-staging-3

2 years ago

1.2.6

3 years ago

1.2.5

3 years ago

1.2.4

3 years ago

1.2.0

4 years ago

1.2.3

4 years ago

1.2.1

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

0.0.2

5 years ago

0.0.1

5 years ago