link

open fun link(itemId: String, label: String, target: Page): PageSpec(source)

Since

api 2


open fun link(itemId: String, label: String, target: Page, icon: Icon): PageSpec(source)

link with an icon. On a ring page the icon is the ring item's glyph and is required; on a list page it is drawn like an item's icon. Needs api 8.

Since

api 8