@dpc-sdp/myvic-bundle

2.2.13 • Public • Published

@dpc-sdp/myvic-bundle

A bundle of MyVictoria components packaged as a UMD. Mainly intended for use in existing HTML sites that are not already using Vue or Webpack.

The bundle includes a simple API to allow individual components to be mounted into an element on an HTML page. el represents an element id (as a string) and props will pass a props object through to the underlying Vue component (see the storybook docs for more information for each component).

Myvic.mountAddressSearch (el, props)
Myvic.mountAreaSearch (el, props)
Myvic.mountAutoComplete (el, props)
Myvic.mountBarChart (el, props)
Myvic.mountDataBlock (el, props)
Myvic.mountLineChart (el, props)
Myvic.mountPieChart (el, props)
Myvic.mountToggleList (el, props)
Myvic.mountTreeMap (el, props)
Myvic.mountMap (el, props)
Myvic.mountMapWithTileLayer (el, mapProps, layerProps)
Myvic.mountMapWithVectorLayer (el, mapProps, layerProps)
Myvic.mountMapWithVectorTileLayer (el, mapProps, layerProps)

Import

<script src="https://cdn.jsdelivr.net/npm/@dpc-sdp/myvic-bundle/dist/myvic-bundle.js"></script>

Install

npm install @dpc-sdp/myvic-bundle --save

Dependency graph

@dpc-sdp/myvic-bundle
├── @dpc-sdp/myvic-global

License

Licensed under the Apache-2.0 License.

Readme

Keywords

none

Package Sidebar

Install

npm i @dpc-sdp/myvic-bundle

Weekly Downloads

1

Version

2.2.13

License

Apache-2.0

Unpacked Size

45.1 kB

Total Files

11

Last publish

Collaborators

  • waitingallday
  • alan-cole
  • sdp.devs