An element providing a list of side effects caused by a medication.
npm install @claudebernard/side-effects-elementAn element providing a list of side effects caused by a medication.
``sh`
npm install --save @claudebernard/side-effects-element
Import as ES modules:
`javascript`
import '@claudebernard/side-effects-element';
`html`
| Name | Type | Default | Description |
|----------|----------|--------------------------------|--------------------------------------------------------------------------------------|
| apiurl | URL | https://api.claudebernard.fr | API base URL to call to do some stuff |lstProducts
| | IProduct[] | [] | All the products to check before display potentials side effects |sideEffectsTitle
| | String | Effets indésirables de l'ordonnance | The title of the component |lang
| | String | fr-FR | UI display locale. Available : fr-FR
- French (France) : en` |
- English:
Browsers without native custom element support require a polyfill.
- [x] Chrome
- [x] Firefox
- [x] Safari
- [x] Microsoft Edge
Copyright of Cegedim. See LICENSE for details.