1.2.6 • Published 3 years 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-barProject setup
npm install
npm run serveCompiles and minifies for production
npm run build-bundleHow 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
3 years ago
1.3.27-staging
3 years ago
1.3.28-staging-2
3 years ago
1.3.28-staging-3
3 years ago
1.2.6
4 years ago
1.2.5
4 years ago
1.2.4
4 years ago
1.2.0
4 years ago
1.2.3
4 years ago
1.2.1
4 years ago
2.0.5
5 years ago
2.0.4
5 years ago
2.0.3
5 years ago
2.0.2
5 years ago
2.0.1
5 years ago
2.0.0
5 years ago
0.0.2
5 years ago
0.0.1
6 years ago