Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  promo.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=4429-687",
  {
    props: {
      body: figma.string("Body"),
      heading: figma.boolean("Show heading", {
        true: figma.string("Heading"),
        false: undefined,
      }),
      image: figma.boolean("Show image", {
        true"path/to/image.png",
        false: undefined,
      }),
      imageAlignment: figma.boolean("Show image", {
        true: figma.enum("Image position", {
          Left: "start",
          Right: "end",
          Bottom: "center",
        }),
        false: undefined,
      }),
      actions: figma.boolean("Show actions", {
        true: html`
          <moz-button slot="actions">Label</moz-button>
          <a is="moz-support-link" slot="support-link" href="#"></a>
        `,
        false: undefined,
      }),
    },
    example: props => html`
      <moz-promo
        heading=${props.heading}
        message=${props.body}
        imageSrc=${props.image}
        imageAlignment=${props.imageAlignment}
      >
        ${props.actions}
      </moz-promo>
      <!--
  The following figma options are not currently supported by moz-promo:
  - Action position
  - Image size
  - Image display
-->
    `,
  }
);

// Desktop V3
figma.connect(
  "https://www.figma.com/design/3WoKOSGtaSjhUHKldHCXbc/Desktop-Components-3?node-id=4429-687",
  {
    props: {
      body: figma.string("Body"),
      heading: figma.boolean("Show heading", {
        true: figma.string("Heading"),
        false: undefined,
      }),
      image: figma.boolean("Show image", {
        true"path/to/image.png",
        false: undefined,
      }),
      imageAlignment: figma.boolean("Show image", {
        true: figma.enum("Image position", {
          Left: "start",
          Right: "end",
          Bottom: "center",
        }),
        false: undefined,
      }),
      actions: figma.boolean("Show actions", {
        true: html`
          <moz-button slot="actions">Label</moz-button>
          <a is="moz-support-link" slot="support-link" href="#"></a>
        `,
        false: undefined,
      }),
    },
    example: props => html`
      <moz-promo
        heading=${props.heading}
        message=${props.body}
        imageSrc=${props.image}
        imageAlignment=${props.imageAlignment}
      >
        ${props.actions}
      </moz-promo>
      <!--
  The following figma options are not currently supported by moz-promo:
  - Action position
  - Image size
  - Image display
-->
    `,
  }
);

Messung V0.5 in Prozent
C=96 H=100 G=97

¤ Dauer der Verarbeitung: 0.17 Sekunden  (vorverarbeitet am  2026-08-25) ¤

*© 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.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

letze Version des Elbe Quellennavigators


Jenseits des Üblichen ....
    

Besucher

Besucher

Statistik
#Sources=277311
#Domains=752002