@digitransit-component/digitransit-component-favourite-editing-modal
v2.0.2
Published
digitransit-component favourite-editing-modal module
Downloads
81
Maintainers
Readme
@digitransit-component/digitransit-component-favourite-editing-modal
handleClose
Required. Close modal.
Type: function
updateFavourites
Required.
Type: function
deleteFavourite
Required.
Type: function
onEditSelected
Required. Function that takes selected favourite object as parameter.
Type: function
favourites
Required.
Properties
type
stringaddress
stringgtfsId
stringgid
stringlat
numberlon
numbername
stringselectedIconId
stringfavouriteId
stringlayer
string
This module is part of the Digitransit-ui project. It is maintained in the HSLdevcom/digitransit-ui repository, where you can create PRs and issues.
Installation
Install this module individually:
$ npm install @digitransit-component/digitransit-component-favourite-editing-modal
Or install the digitransit-component module that includes it as a class:
$ npm install @digitransit-component/digitransit-component