<tap-navbar>

顶部导航栏组件。提供返回按钮、主标题、副标题以及右侧操作区域。

Example

API

Shadow DOM; Extends GemElement

Instance Properties

Property(Attribute) Reactive Type Description
title(title) Yes string
subtitle(subtitle) Yes string
back(back) Yes boolean
defaultBack(default-back) Yes boolean
transparent(transparent) Yes boolean Set by <tap-page floatheader> while content is not scrolled
backclick Emitter<null>

Other

Type Value
Event backclick
Slot right, left
Part title, subtitle