⚠️ Starting from Vaadin 20, the source code and issues for this component are migrated to thevaadin/web-components
monorepository. This repository contains the source code and releases of<vaadin-message-list>
for the Vaadin versions 10 to 19.
<vaadin-message-list> is a Web Component for showing a list of messages, part of the Vaadin components.
Live demo and examples ↗ | API documentation ↗
<vaadin-message></vaadin-message>
<vaadin-message foo="bar"></vaadin-message>
Install vaadin-messages
:
npm i @vaadin/vaadin-messages --save
Once installed, import it in your application:
import '@vaadin/vaadin-messages/vaadin-message.js';
Vaadin components use the Lumo theme by default.
To use the Material theme, import the correspondent file from the theme/material
folder.
-
The component with the Lumo theme:
theme/lumo/vaadin-message.js
-
The component with the Material theme:
theme/material/vaadin-message.js
-
Alias for
theme/lumo/vaadin-message.js
: -
vaadin-message.js
-
Fork the
vaadin-messages
repository and clone it locally. -
Make sure you have node.js 12.x installed.
-
Make sure you have npm installed.
-
When in the
vaadin-messages
directory, runnpm install
to install dependencies. -
Run
npm start
, browser will automatically open the component API documentation. -
You can also open visual tests, for example:
- When in the
vaadin-messages
directory, runnpm test
- Run
npm run debug
, then choose manual mode (M) and open the link in browser.
We are using ESLint for linting JavaScript code. You can check if your code is following our standards by running npm run lint
, which will automatically lint all .js
files.
Cross-browser Testing Platform and Open Source <3 Provided by Sauce Labs.
To contribute to the component, please read the guideline first.
Apache License 2.0
Vaadin collects development time usage statistics to improve this product. For details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.