Bixby Developer Center

Guides
References

view-for[deprecated]

optionalvalue required

Defines a view to navigate to when the component is tapped. If you want to display the details of an item from a list, use the view-for child key, like in the example below (a layout macro for a result-view).

Example

layout-macro-def (MOVIE_SUMMARY) {
params {
param (movie) {
type (Movie)
min (Required)
max (One)
}
}
content {
cell-card {
slot1 {
image {
shape (Square)
url ("[#{value(movie.posterUrl)}]")
}
}
slot2 {
content {
primary {
template ("#{value(movie.title)}")
}
}
}
on-click {
view-for (movie)
}
}
}
}

View on GitHub