https://github.com/humanbrainproject/ebrains-webcomponents
https://github.com/humanbrainproject/ebrains-webcomponents
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/humanbrainproject/ebrains-webcomponents
- Owner: HumanBrainProject
- License: apache-2.0
- Created: 2021-07-26T09:22:44.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-08-04T16:03:14.000Z (over 4 years ago)
- Last Synced: 2025-01-23T09:16:34.631Z (about 1 year ago)
- Language: JavaScript
- Size: 26.4 KB
- Stars: 0
- Watchers: 12
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WIP
# EBRAINS Webcomponents
[Demo](https://humanbrainproject.github.io/ebrains-webcomponents/index.html)
Set of WebComponents for EBRAINS services. WebComponents are namespaced under `ebrains-*`
## Prettier
Code formatting is done using [Prettier](https://prettier.io/). If you wish to contribute, please install and use the Prettier extension for your editor/IDE.
## Events naming convention
Some of components might propagate some events outside of their scope. In order to not have event name duplicates, custom event names should use this pattern: `${componentName}:${eventName}`. As an example, ebrains-iam-auth custom "success" event is: `ebrains-iam-auth:success`, as you may have already guess, error one would be `ebrains-iam-auth:error`
## Existing Components
- [ebrains-yt-video/](ebrains-yt-video) Youtube video privacy warning overlay
- [ebrains-iam-auth/](ebrains-iam-auth) EBRAINS IAM frontend authentication helper