JSPM

@vaadin/vaadin-details

22.0.0-alpha2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 17021
  • Score
    100M100P100Q155772F
  • License Apache-2.0

vaadin-details

Package Exports

  • @vaadin/vaadin-details
  • @vaadin/vaadin-details/src/vaadin-details.js
  • @vaadin/vaadin-details/theme/lumo/vaadin-details-styles.js
  • @vaadin/vaadin-details/theme/material/vaadin-details-styles.js
  • @vaadin/vaadin-details/vaadin-details.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@vaadin/vaadin-details) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

<vaadin-details>

<vaadin-details> is a Web Component providing functionality for expandable details, part of the Vaadin components.

Live Demo ↗ | API documentation ↗

npm version Published on Vaadin Directory Discord

<vaadin-details opened>
  <div slot="summary">Expandable Details</div>
  Toggle using mouse, Enter and Space keys.
</vaadin-details>

Screenshot of vaadin-details

Installation

Install vaadin-details:

npm i @vaadin/vaadin-details --save

Once installed, import it in your application:

import '@vaadin/vaadin-details/vaadin-details.js';

Getting started

Vaadin components use the Lumo theme by default.

To use the Material theme, import the correspondent file from the theme/material folder.

Entry points

  • The component with the Lumo theme:

    theme/lumo/vaadin-details.js

  • The component with the Material theme:

    theme/material/vaadin-details.js

  • Alias for theme/lumo/vaadin-details.js:

    vaadin-details.js

Contributing

Read the contributing guide to learn about our development process, how to propose bugfixes and improvements, and how to test your changes to Vaadin components.

License

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.