API
Component

Breadcrumb ($UI/comp/antd/components/Breadcrumb/Breadcrumb)

使用范围:WX

Contents

component Breadcrumb ($UI/comp/antd/components/Breadcrumb/Breadcrumb) extends AntdComponent

<b>使用场景</b>:当系统拥有超过两级以上的层级结构时;当需要告知用户『你在哪里』时;当需要向上导航的功能时。。 <b>使用方法</b>:在设置中设置选项名,在属性中配置分割符,在事件和操作中进行导航设置。

Constructor Top

  Breadcrumb ()

Static Properties & Enumerations Top

String EVENT_ACTIVE = "pop"

激活事件

Methods Top

void push (String label)
void switchTo (String label)

Operations Top

void push (String label)
void switchTo (String label)

Events Top

void active (ActiveEvent event)

Constructor details Top

public Breadcrumb ()

<b>使用场景</b>:当系统拥有超过两级以上的层级结构时;当需要告知用户『你在哪里』时;当需要向上导航的功能时。。 <b>使用方法</b>:在设置中设置选项名,在属性中配置分割符,在事件和操作中进行导航设置。

Static Properties & Enumerations Detail Top

static public String EVENT_ACTIVE = "pop"

激活事件

Methods Detail Top

public void push (String label)

添加项

Parameters

String label

名称

Return Value

void

public void switchTo (String label)

切换到

Parameters

String label

名称

Return Value

void

Operations Detail Top

public void push (String label)

添加项

Parameters

String label

名称

Return Value

void

public void switchTo (String label)

切换到

Parameters

String label

名称

Return Value

void

Events Detail Top

public void active (ActiveEvent event)

激活

Parameters

ActiveEvent event


结构如下:

{ index : 激活项的序号, data: 激活项的名称, source : 组件自身 }

Return Value

void