Skip to content

How to declare a Array Property #426

Answered by mobsense
romeosunio asked this question in Q&A
Discussion options

You must be logged in to vote

Here is a nested array of object:

            widgets:        { type: 'array', default: [], items: {
                type: Object,
                schema: {
                    cloudId:        { type: 'string' },     //  Cloud ID
                    dashboard:      { type: 'string' },     //  Dashboard widget to select another dashboard
                    dimensions:     { type: 'string' },     //  Metric dimensions
                    height:         { type: 'string' },     //  Pixel height
                    id:             { type: 'string' },     //  Unique widget UUID
                    left:           { type: 'string' },     //  Left (x coord)?
                    metric:         …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@romeosunio
Comment options

@mobsense
Comment options

Answer selected by dev-embedthis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants