<tap-tabbar>

底部导航栏。通过 items / value 驱动,选中时触发 change。

Example

带 path / route 的项渲染为 <tap-active-link>,通过 history 导航;其他项使用 value 并触发 change 事件。

API

Extends GemElement

Instance Properties

Property(Attribute) Reactive Type
items Yes TabbarItem[]
value Yes string | number
change Emitter<string | number>

Other

Type Value
Event change