ion-card-header

概要(CONTENTS)

Ionic4项目中我们可以使用Ionic4卡片组件ion-card-header对项目进行布局。

ion-card-header官方文档地址:https://ionicframework.com/docs/api/card-header

ion-card-header is a header component for ion-card.

ion-card-header 属性(Properties)

color

Description

The color to use from your application's color palette. Default options are: "primary", "secondary", "tertiary", "success", "warning", "danger", "light", "medium", and "dark". For more information on colors, see theming.

Attribute color
Type string | undefined

mode

Description

The mode determines which platform styles to use.

Attribute mode
Type "ios" | "md"

translucent

Description

If true, the card header will be translucent.

Attribute translucent
Type boolean
Default false