digitransit-ui/digitransit-component/packages/digitransit-component-dialog-modal
2025-05-21 18:37:05 +03:00
..
src Add Polish translation 2024-06-24 12:12:27 +02:00
index.js chore: in NODE_ENV=development, use dev bundles with included inline sourcemaps 2022-05-20 14:15:30 +03:00
LICENSE-AGPL.txt feat: create dialog modal 2020-07-16 15:42:53 +03:00
LICENSE-EUPL.txt feat: create dialog modal 2020-07-16 15:42:53 +03:00
package.json chore: update i18next to latest versionb which works without esm6 2025-05-21 18:37:05 +03:00
README.md feat: show stop specific arrival times in itinerary view 2020-11-26 11:52:51 +02:00
test.js fix: import path 2020-08-21 10:10:15 +03:00

@digitransit-component/digitransit-component-dialog-modal

DialogModal

General component description in JSDoc format. Markdown is supported.

Parameters

  • $0 Object
    • $0.headerText
    • $0.dialogContent
    • $0.handleClose
    • $0.primaryButtonText
    • $0.primaryButtonOnClick
    • $0.secondaryButtonText
    • $0.secondaryButtonOnClick
    • $0.lang
    • $0.href
    • $0.appElement
    • $0.isModalOpen
    • $0.modalAriaLabel
    • $0.color
    • $0.hoverColor

Examples

<DialogModal />

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-dialog-modal

Or install the digitransit-component module that includes it as a class:

$ npm install @digitransit-component/digitransit-component