1.2.6 • Published 12 months ago
@tehsurfer/map-side-bar v1.2.6
map-side-bar
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
12 months ago
1.3.27-staging
12 months ago
1.3.28-staging-2
12 months ago
1.3.28-staging-3
12 months ago
1.2.6
2 years ago
1.2.5
2 years ago
1.2.4
2 years ago
1.2.0
2 years ago
1.2.3
2 years ago
1.2.1
2 years ago
2.0.5
3 years ago
2.0.4
3 years ago
2.0.3
3 years ago
2.0.2
3 years ago
2.0.1
3 years ago
2.0.0
3 years ago
0.0.2
4 years ago
0.0.1
4 years ago