Skip to main content

ion-chip

shadow

Chip は、連絡先などの複数の情報を持つものを、小さなブロックにまとめて表示します。Chip にはアバター、テキスト、アイコンなどの要素を組み合わせられます。

基本的な使い方​

Slotting Components and Icons​

テーマ​

Colors​

CSS Custom Properties​

Properties​

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

Events​

No events available for this component.

Methods​

No public methods available for this component.

CSS Shadow Parts​

No CSS shadow parts available for this component.

CSS Custom Properties​

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

Slots​

NameDescription
The default slot