@@ -62,7 +62,7 @@ <h4>Avatar Group - type "Individual"</h4>
62
62
function onAvatarClicked ( avatarRef ) {
63
63
const avatarIndex = avatarGroup . items . indexOf ( avatarRef ) ;
64
64
65
- popAvatar . backgroundColor = avatarGroup . colorScheme [ avatarIndex ] ;
65
+ popAvatar . backgroundDesign = avatarGroup . colorScheme [ avatarIndex ] ;
66
66
popAvatar . initials = avatarRef . initials ;
67
67
popAvatar . image = avatarRef . image ;
68
68
popAvatar . icon = avatarRef . icon ;
@@ -81,7 +81,7 @@ <h4>Avatar Group - type "Individual"</h4>
81
81
const color = avatarGroup . colorScheme [ firstHiddenIndex + index ] ;
82
82
83
83
html += '<div class="avatar-slot" style="padding: 5px">' +
84
- '<ui5-avatar interactive icon="' + avatar . icon + '" image="' + avatar . image + '" initials="' + avatar . initials + '" background-color ="' + color + '"></ui5-avatar>' +
84
+ '<ui5-avatar interactive icon="' + avatar . icon + '" image="' + avatar . image + '" initials="' + avatar . initials + '" background-design ="' + color + '"></ui5-avatar>' +
85
85
'</div>' ;
86
86
} ) ;
87
87
@@ -143,7 +143,7 @@ <h4>Avatar Group - type "Individual"</h4>
143
143
avatarGroup . hiddenItems . forEach ( ( avatar , index ) => {
144
144
html += `<ui5-avatar
145
145
...
146
- background-color ="${ avatarGroup . colorScheme [ firstHiddenIndex + index ] } "
146
+ background-design ="${ avatarGroup . colorScheme [ firstHiddenIndex + index ] } "
147
147
</ui5-avatar>` ;
148
148
} ) ;
149
149
@@ -206,7 +206,7 @@ <h4>Avatar Group - type "Group"</h4>
206
206
const avatarColor = avatarGroup . colorScheme [ index ] ;
207
207
208
208
html += '<div class="avatar-slot" style="padding: 3px">' +
209
- '<ui5-avatar interactive icon="' + avatar . icon + '" image="' + avatar . image + '" initials="' + avatar . initials + '" background-color ="' + avatarColor + '"></ui5-avatar>' +
209
+ '<ui5-avatar interactive icon="' + avatar . icon + '" image="' + avatar . image + '" initials="' + avatar . initials + '" background-design ="' + avatarColor + '"></ui5-avatar>' +
210
210
'</div>' ;
211
211
} ) ;
212
212
0 commit comments