Uh oh! We couldn’t find any match.

Please try other search keywords.

Bixby Developer Center

Guides

layout-macro

optionalvalue required

Defines a layout or a portion of a layout with a macro. You can use this layout macro to define repeatable portions of your layout, such as a card or a cell for a specific structure. You define the exact parameters within a layout macro using a layout-macro-def. For more information, see Layout Macros.

Example

// Part of the resources/base/layouts/Details/Hotel_Details.layout.bxb file
...
layout-macro (hotel-rating) {
param (rating) {
expression (hotel.rating)
}
param (reviewCount) {
expression (hotel.reviewCount)
}
}
...

Child Keys

param
optional
Parameter to which the argument (specified as a child) should bind