Skip to content

customize debug info of components

patricklx edited this page Sep 15, 2022 · 1 revision

add function to your component:

_debugInfo() {
        return {
          propertyInfo: {
            includeOtherProperties: true,
            skipProperties: ['propertyToSkip'],
            skipMixins: ['MixinToSkip'],
            expensiveProperties: ['expensiveProperty'],
            groups: [
              {
                name: 'Basic Info',
                properties: ['name', 'gender'],
                expand: true,
              },
              {
                name: 'Family Info',
                properties: ['maritalStatus'],
              },
            ],
          },
        };
      }
Clone this wiki locally