Skip to main content
Version: v9

ion-chip

shadow

Chipは連絡先などを複数の小さなエンティティで表示します。 Chipにはavatars, text, や iconsなど、いくつかの異なる要素を含めることができます。

基本的な使い方​

Slotting Components and Icons​

テーマ​

Colors​

CSSカスタムプロパティ​

プロパティ​

color​

Descriptionアプリケーションのカラーパレットから使用する色を指定します。デフォルトのオプションは以下の通りです。 "primary", "secondary", "tertiary", "success", "warning", "danger", "light", "medium", と "dark" です.色に関する詳しい情報は theming を参照してください。
Attributecolor
Type"danger" | "dark" | "light" | "medium" | "primary" | "secondary" | "success" | "tertiary" | "warning" | string | undefined
Defaultundefined

disabled​

Descriptiontrueの場合、ユーザはチップと対話することができません。
Attributedisabled
Typeboolean
Defaultfalse

mode​

Descriptionmodeは、どのプラットフォームのスタイルを使用するかを決定します。

This is a virtual property that is set once during initialization and will not update if you change its value after the initial render.
Attributemode
Type"ios" | "md"
Defaultundefined

outline​

Descriptionアウトラインスタイルボタンを表示します。
Attributeoutline
Typeboolean
Defaultfalse

イベント​

No events available for this component.

メソッド​

No public methods available for this component.

CSS Shadow Parts​

No CSS shadow parts available for this component.

CSSカスタムプロパティ​

NameDescription
--backgroundチップの背景
--colorチップの色

Slots​

No slots available for this component.