Flutter教程

Ionic实战视频教程(跨平台): https://www.itying.com/goods-1067.html

Flutter实战视频教程(跨平台): https://www.itying.com/goods-1176.html

ion-title

概要(CONTENTS)

Ionic4项目中我们可以使用Ionic4导航条组件ion-title对项目进行布局。

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

ion-title is a component that sets the title of the Toolbar.

ion-title 用法(Usage)

<ion-header>

  <ion-toolbar>
    <ion-title>Settingsion-title>
  ion-toolbar>

ion-header>

ion-title 属性(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

ion-title中的CSS 自定义属性

Name Description
--color Text color of the title