headerItem
Fields
type
• enum required
type
• enum requiredOptions includeicon
, image
, text
icon
, image
, text
A destination object containing the type
and screen id
type
and screen id
action
• [ action ]
action
• [ action ]A destination object containing the type
and screen id
type
and screen id
style
• [ style ]
style
• [ style ]A destination object containing the type
and screen id
type
and screen id
{
"visible": true,
"headerLeft": [
{
"type": "button",
"image": {
"type": "icon",
"src": "https://assets.tapcart.com/eZ4Olr2pqW_657c8c3c527d48aabad297fd_icon-space-sub.svg"
},
"style": {
"width": 35,
"height": 35
},
"action": {
"type": "screen/open",
"data": {
"destination": {
"type": "screen",
"id": "67ec52b6f9294d7c9a37bcd0"
},
"presentation": {
"transition": "default",
"style": "default"
}
}
}
}
],
"headerCenter": [
{
"type": "text",
"value": "{data.headerTitle}",
"style": {
"width": 93.75,
"height": 35
},
"action": {
"type": "scroll/top"
}
}
],
"headerRight": [
{
"type": "button",
"image": {
"type": "icon",
"src": "https://assets.tapcart.com/eZ4Olr2pqW_65450f254b31ffb8e82a8d51_icon-bag.svg"
},
"style": {
"width": 35,
"height": 35
},
"badge": {
"visible": true,
"value": "{cart.count}"
},
"action": {
"type": "screen/open",
"data": {
"destination": {
"type": "screen",
"id": "67ec52b6f9294d7c9a37bcd0"
},
"presentation": {
"transition": "fullscreen",
"style": "default"
}
}
}
}
]
}
Updated 9 days ago