carMenuRow

abstract fun carMenuRow(label: String, opens: Page): Subscription(source)

A row in the Car menu that opens opens, a live page from page. A plugin has at most MAX_CAR_ROWS Car rows live at once. Needs ui.slot.carmenu; inert without Features.SLOT_CAR_MENU or when opens is inert.

Since

api 2


abstract fun carMenuRow(label: String, opens: Page, icon: Icon): Subscription(source)

carMenuRow with an icon; a null icon means none. The icon must come from this plugin's icon or stockIcon. Without Features.UI_ICONS the row shows without it. The Car screen reads its rows when it opens, so an icon change shows the next time the Car screen opens.

Since

api 3