General
Portal actor can display a placeholder preview when it is loading.
View when loading |
View after loading |
---|---|
Specify the height
and padding
of the default shaded rectangle. width
is either 100% or controlled by the grid.
Each actor needs to specify how many skeleton rectangles are to be displayed.
View when loading |
View after loading |
---|---|
Example 127. Code JSON
"appearance": { "skeleton": { "items": 6, "style": { "padding": "12px", "height": "74px" }, "grid": { "sm": 6 } } }
Example 128. Code JSON
"appearance": { "renderAs": [{ "condition": "$client; == \"phone\"", "value": "card-view" }, { "condition": "$client; != \"phone\"", "value": "list-view" }], "skeleton": { "card-view": { "items": 10, "style": { "height": "160px" } }, "list-view": { "items": 10 } } }
Example 129. Code JSON
"appearance": { "skeleton": [{ "value": { "items": 3, "style": { "height": "120px" } }, "condition": "$client; != \"phone\"" }, { "value": { "items": 3, "style": { "height": "178px" } }, "condition": "$client; == \"phone\"" }] }
Status
Release Available |
Status |
Framework Name |
---|---|---|
3.4 |
Current |
TBC |