All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.web-types.lit.json Maven / Gradle / Ivy

There is a newer version: 24.6.0-alpha7
Show newest version
{
  "$schema": "https://json.schemastore.org/web-types",
  "name": "@vaadin/details",
  "version": "24.4.9",
  "description-markup": "markdown",
  "framework": "lit",
  "framework-config": {
    "enable-when": {
      "node-packages": [
        "lit"
      ]
    }
  },
  "contributions": {
    "html": {
      "elements": [
        {
          "name": "vaadin-details-summary",
          "description": "The details summary element.\n\n### Styling\n\nThe following shadow DOM parts are exposed for styling:\n\nPart name  | Description\n-----------|-------------------\n`toggle`   | The icon element\n`content`  | The content wrapper\n\nThe following state attributes are available for styling:\n\nAttribute    | Description\n-------------| -----------\n`active`     | Set when the element is pressed down, either with mouse, touch or the keyboard.\n`opened`     | Set when the element is expanded and related collapsible content is visible.\n`disabled`   | Set when the element is disabled.\n`focus-ring` | Set when the element is focused using the keyboard.\n`focused`    | Set when the element is focused.\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
          "extension": true,
          "attributes": [
            {
              "name": "?disabled",
              "description": "If true, the user cannot interact with this element.",
              "value": {
                "kind": "expression"
              }
            },
            {
              "name": "?opened",
              "description": "When true, the element is opened.",
              "value": {
                "kind": "expression"
              }
            }
          ]
        },
        {
          "name": "vaadin-details",
          "description": "`` is a Web Component which the creates an\nexpandable panel similar to `
` HTML element.\n\n```\n\n Expandable Details\n
\n Toggle using mouse, Enter and Space keys.\n
\n
\n```\n\n### Styling\n\nThe following shadow DOM parts are exposed for styling:\n\nPart name | Description\n-----------------|----------------\n`content` | The wrapper for the collapsible details content.\n\nThe following attributes are exposed for styling:\n\nAttribute | Description\n-------------| -----------\n`opened` | Set when the collapsible content is expanded and visible.\n`disabled` | Set when the element is disabled.\n`focus-ring` | Set when the element is focused using the keyboard.\n`focused` | Set when the element is focused.\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.", "extension": true, "attributes": [ { "name": "?disabled", "description": "If true, the user cannot interact with this element.", "value": { "kind": "expression" } }, { "name": "?autofocus", "description": "Specify that this control should have input focus when the page loads.", "value": { "kind": "expression" } }, { "name": "?opened", "description": "If true, the collapsible content is visible.", "value": { "kind": "expression" } }, { "name": ".summary", "description": "A text that is displayed in the summary, if no\nelement is assigned to the `summary` slot.", "value": { "kind": "expression" } }, { "name": "@opened-changed", "description": "Fired when the `opened` property changes.", "value": { "kind": "expression" } } ] } ] } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy