@abi-software/map-side-bar 1.1.2 → 1.1.5-beta-1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -33,12 +33,21 @@ import '@abi-software/map-side-bar/dist/map-side-bar.css'
33
33
  The code should looks like this
34
34
 
35
35
  ```html
36
- <SideBar :apiLocation="apiLocation"
36
+ <SideBar :envVars="envVars"
37
37
  :visible="sideBarVisibility"
38
38
  @actionClick="actionClick">
39
39
  </SideBar>
40
40
  ```
41
41
 
42
- apiLocation is the api endpoint.
42
+ envVars contains environment varibables like so:
43
+
44
+ ```yaml
45
+ {
46
+ API_LOCATION: 'http://localhost:5000/',
47
+ ALGOLIA_KEY: 'xxxxxxxxxxxxxxxxxxxxxxxxx',
48
+ ALGOLIA_ID: 'xxxxx',
49
+ ALGOLIA_INDEX: 'k-core_dev_published_time_desc',
50
+ }
51
+ ```
43
52
 
44
53
  actionClick event is called when an action button has benn clicked on.