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

Quellcode-Bibliothek moz-select.figma.ts   Sprache: JAVA

 

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

// Nova Components
// Dropdown
figma.connect(
  "https://www.figma.com/design/PqfaOcMGbX5liEXTTUzeYX/Nova-Components--Experimental-?node-id=5858-8185",
  {
    props: {
      label: figma.nestedProps("Label", {
        text: figma.string("Label"),
        description: figma.string("Description"),
        showSupportLink: figma.boolean("Show support link", {
          true: "support-page-endpoint-example",
          false: undefined,
        }),
        showIcon: figma.boolean("Show icon", {
          true: "chrome://example.svg",
          false: undefined,
        }),
      }),
      select: figma.nestedProps("Select / Input", {
        value: figma.string("Label"),
      }),
      disabled: figma.boolean("Disabled"),
    },
    example: props => html`
      <moz-select
        label=${props.label.text}
        name="example-moz-select"
        value=${props.select.value}
        disabled=${props.disabled}
        iconsrc=${props.label.showIcon}
        description=${props.label.description}
        support-page=${props.label.showSupportLink}
      >
        <moz-option value="option1">Option 1</moz-option>
        <moz-option value="option2">Option 2</moz-option>
      </moz-select>
    `,
  }
);

// Desktop V3
// Menu / Native / Item
figma.connect(
  "https://www.figma.com/design/3WoKOSGtaSjhUHKldHCXbc/Desktop-Components-3?node-id=236-1121",
  {
    props: {
      label: figma.string("Label"),
      disabled: figma.enum("State", { Disabled: true }),
      checked: figma.boolean("Checked"),
      iconSrc: figma.boolean("Checked", {
        true: "chrome://example.svg",
        false: undefined,
      }),
    },
    example: props =>
      html` <moz-option
        value=${props.label}
        iconsrc=${props.iconSrc}
        selected=${props.checked}
        disabled=${props.disabled}
      >
        ${props.label}
      </moz-option>`,
  }
);

// Dropdown
figma.connect(
  "https://www.figma.com/design/3WoKOSGtaSjhUHKldHCXbc/Desktop-Components-3?node-id=3907-19254",
  {
    props: {
      label: figma.nestedProps("Label", {
        text: figma.string("Label"),
        description: figma.string("Description"),
        showSupportLink: figma.boolean("Show support link", {
          true: "support-page-endpoint-example",
          false: undefined,
        }),
        showIcon: figma.boolean("Show icon", {
          true: "chrome://example.svg",
          false: undefined,
        }),
      }),
      select: figma.nestedProps("Dropdown / Button", {
        value: figma.string("Label"),
      }),
      disabled: figma.boolean("Disabled"),
      expandedMenu: figma.nestedProps("Dropdown / Menu / Native", {
        options: figma.children("*"),
      }),
    },
    example: props => html`
      <moz-select
        label=${props.label.text}
        name="example-moz-select"
        value=${props.select.value}
        disabled=${props.disabled}
        iconsrc=${props.label.showIcon}
        description=${props.label.description}
        support-page=${props.label.showSupportLink}
      >
        ${props.expandedMenu.options}
      </moz-select>
    `,
  }
);

Messung V0.5 in Prozent
C=90 H=100 G=95

¤ 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.0.10Bemerkung:  (vorverarbeitet am  2026-10-01) ¤

*Bot Zugriff






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.