Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
Callouts are used to display important messages inline.
<pc-callout>
<pc-icon
library="default"
icon-style="solid"
name="circle-info"
slot="icon"
></pc-icon>
This is a standard callout. You can customise its content and even the icon.
</pc-callout>
Set the appearance attribute to change the callout’s appearance.
<pc-callout appearance="primary">
<pc-icon
library="default"
icon-style="solid"
name="circle-info"
slot="icon"
></pc-icon>
<strong>This is super informative</strong><br />
You can tell by how pretty the callout is.
</pc-callout>
<br />
<pc-callout appearance="success">
<pc-icon
library="default"
icon-style="solid"
name="circle-check"
slot="icon"
></pc-icon>
<strong>Your changes have been saved</strong><br />
You can safely exit the app now.
</pc-callout>
<br />
<pc-callout appearance="neutral">
<pc-icon
library="default"
icon-style="solid"
name="gear"
slot="icon"
></pc-icon>
<strong>Your settings have been updated</strong><br />
Settings will take effect on next login.
</pc-callout>
<br />
<pc-callout appearance="warning">
<pc-icon
library="default"
icon-style="solid"
name="triangle-exclamation"
slot="icon"
></pc-icon>
<strong>Your session has ended</strong><br />
Please login again to continue.
</pc-callout>
<br />
<pc-callout appearance="danger">
<pc-icon
library="default"
icon-style="solid"
name="circle-exclamation"
slot="icon"
></pc-icon>
<strong>Your account has been deleted</strong><br />
We’re very sorry to see you go!
</pc-callout>
Use the size attribute to change the callout’s size.
<pc-callout size="large">
<pc-icon
library="default"
icon-style="solid"
name="circle-info"
slot="icon"
></pc-icon>
This is meant to be <strong>very</strong> emphasised.
</pc-callout>
<br />
<pc-callout size="medium">
<pc-icon
library="default"
icon-style="solid"
name="circle-info"
slot="icon"
></pc-icon>
This is a normal‐sized callout.
</pc-callout>
<br />
<pc-callout size="small">
<pc-icon
library="default"
icon-style="solid"
name="circle-info"
slot="icon"
></pc-icon>
Just a small tip!
</pc-callout>
Wenn du den Autoloader oder den Standard‐Loader nutzt,
kannst du diesen Abschnitt überspringen. Falls du
„Cherry Picking“ betreibst, kannst du die folgenden
Snippets verwenden, um diese Komponente zu importieren.
CDN (Skript‐Tag)CDN (Import)npm (Import)
Um diese Komponente manuell vom CDN zu importieren,
kopiere dieses Code‐Snippet und füge es in dein HTML ein.
Ui! Du bist in die gefährlichen Lande von Placer Toolkit geraten. Version 0 ist veraltet und entspricht nicht den EU‐Datenschutzstandards, einschließlich DSGVO.
Willst du die neuesten Kräfte, Sicherheit und Compliance? Bleib bei der aktuellen Version von Placer Toolkit!