詳細情報:
アラートLightning WebコンポーネントReadMe(管理パッケージ)
管理パッケージランタイムの場合、このページには各 Vlocity リリースのアラート LWC ReadMe が含まれます。
この情報は、OmniStudio for Managed Packages 用です。標準ランタイムの OmniStudio については、OmniStudio ヘルプを参照してください。
使用可能な C アラート属性
属性 |
値 |
型 |
必須 |
説明 |
|---|---|---|---|---|
テーマ |
SLDS、nds (デフォルト: SLDS) |
string |
使用するテーマを指定します。 |
|
message |
string |
簡単なメッセージをコンポーネントに渡します。マークアップを含むメッセージには、デフォルトの時間枠を使用します。スロットされたコンテンツが渡されると、 |
||
バリエーション |
info、warning、error、offline (デフォルト: info) |
string |
コンポーネントのスタイルのバリエーションを表す列挙値。 |
|
破棄可能 |
true、false (デフォルト: false) |
boolean |
true の場合、アラートはユーザーが破棄できます。 |
|
icon |
string |
|
c-alert* コンポーネントの例
<c-alert theme="slds"
variation="info|warning|error|offline"
icon="utility:trail"
message="This is a simple message.">
<span>For more <em>complex</em> messaging, use the default slot.
<a href="https://lwc.dev/guide/composition#pass-markup-into-slots" target="_blank">Using slots.</a>
</span>
</c-alert>
Vlocity Insurance and Health Winter '20 および Vlocity CME Spring '20
アラート Lightning Web コンポーネントに SLDS または Newport アラートが表示されます。
使用可能な C アラート属性
属性 |
値 |
型 |
必須 |
説明 |
|---|---|---|---|---|
テーマ |
SLDS、nds (デフォルト: SLDS) |
string |
使用するテーマを指定します。 |
|
message |
string |
簡単なメッセージをコンポーネントに渡します。マークアップを含むメッセージには、デフォルトの時間枠を使用します。スロットされたコンテンツが渡されると、 |
||
バリエーション |
info、warning、error、offline (デフォルト: info) |
string |
コンポーネントのスタイルのバリエーションを表す列挙値。 |
|
破棄可能 |
true、false (デフォルト: false) |
boolean |
true の場合、アラートはユーザーが破棄できます。 |
|
icon |
string |
|
c アラートコンポーネントの例
<c-alert theme="slds"
variation="info|warning|error|offline"
icon="utility:trail"
message="This is a simple message.">
<span>For more <em>complex</em> messaging, use the default slot.
<a href="https://lwc.dev/guide/composition#pass-markup-into-slots" target="_blank">Using slots.</a>
</span>
</c-alert>