<tap-banner>

横幅用于向用户传达重要信息,醒目且常用于系统级公告、警告或需要关注的关键信息。

Example

API

Shadow DOM; Extends GemElement

Instance Properties

Property(Attribute) Reactive Type
closable(closable) Yes boolean
status(status) Yes Status
action Yes { text: string; handle: () => void }
close Emitter<null>

Other

Type Value
Event close
Slot unnamed