Skip to content
On this page

Tag ​

用于标记和选择。

用法 ​

type ​

使用 type 属性定义 Tag 的类型。

state ​

您可以定义不同的状态。

shape ​

预定义标记的形状。

closable ​

使用 closable 属性定义可移除标记。

indicator ​

使用 indicator 显示标记。

属性 ​

属性名可选值默认值描述
typesolid | outline | softsolidSet custom type attribute.
colorblue | teal | red | yellow | gray | deepGraytealSet tag color.
shaperounded | pilledroundedSet tag shape.
closablebooleanfalseUse the closable attribute to define a removable tag.
indicatorbooleanfalseUse an indicator appearance to show indication.

MIT Licensed