Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/toolkit/content/widgets/panel-list/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 2 kB image not shown  

Quelle  panel-list.figma.ts

  Sprache: JAVA
 

import figma, { html } from "@figma/code-connect/html";

// Nova Components
figma.connect(
  "https://www.figma.com/design/PqfaOcMGbX5liEXTTUzeYX/Nova-Components--Experimental-?node-id=478-7070",
  {
    props: {
      items: figma.children("*"),
    },
    example: props =>
      html` <panel-list open id="panel-list"> ${props.items} </panel-list>`,
  }
);

figma.connect(
  "https://www.figma.com/design/PqfaOcMGbX5liEXTTUzeYX/Nova-Components--Experimental-?node-id=478-6518",
  {
    props: {
      label: figma.string("Label"),
      iconSrc: figma.boolean("Show icon", {
        true"chrome://example.svg",
      }),
      disabled: figma.enum("State", { Disabled: true }),
      badged: figma.boolean("Show badge"),
      submenu: figma.boolean("Show submenu"),
      rule: figma.boolean("Show separator", {
        true: html`<hr />`,
      }),
    },
    example: props =>
      html` <panel-item
          icon=${props.iconSrc}
          disabled=${props.disabled}
          badged=${props.badged}
          submenu=${props.submenu}
        >
          ${props.label}
        </panel-item>
        ${props.rule}`,
  }
);

// Desktop Components v3 (newest)
figma.connect(
  "https://www.figma.com/design/3WoKOSGtaSjhUHKldHCXbc/Desktop-Components-3?node-id=478-7070",
  {
    props: {
      items: figma.children("*"),
    },
    example: props =>
      html` <panel-list open id="panel-list"> ${props.items} </panel-list>`,
  }
);

figma.connect(
  "https://www.figma.com/design/3WoKOSGtaSjhUHKldHCXbc/Desktop-Components-3?node-id=478-6518",
  {
    props: {
      label: figma.string("Label"),
      iconSrc: figma.boolean("Show icon", {
        true"chrome://example.svg",
      }),
      disabled: figma.enum("State", { Disabled: true }),
      badged: figma.boolean("Show badge"),
      submenu: figma.boolean("Show submenu"),
      rule: figma.boolean("Show separator", {
        true: html`<hr />`,
      }),
    },
    example: props =>
      html` <panel-item
          icon=${props.iconSrc}
          disabled=${props.disabled}
          badged=${props.badged}
          submenu=${props.submenu}
        >
          ${props.label}
        </panel-item>
        ${props.rule}`,
  }
);

Messung V0.5 in Prozent
C=82 H=86 G=83

¤ Dauer der Verarbeitung: 0.6 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.