avatar
Configuration options
Core structure
Other options
Examples and code snippets
Avatar widget example

widgets:
avatar-widget:
type: widget.avatar
options:
text: =$substring($substringBefore(@ctx.datasources.static-global.name, " "), 0, 1) & $substring($substringAfter(@ctx.datasources.static-global.name, " "), 0, 1)
uri: [email protected]
bottom:
type: component.titles
options:
align: center
title: [email protected]
subtitle: =$fromMillis($toMillis(@ctx.datasources.static-global.date_from),'[H01]:[m01]') & '-' & $fromMillis($toMillis(@ctx.datasources.static-global.date_to),'[H01]:[m01]')widgets:
avatar-meeting:
type: widget.avatar
options:
text: =$substring($substringBefore(@ctx.datasources.dynamic-global.name, " "), 0, 1) & $substring($substringAfter(@ctx.datasources.dynamic-global.name, " "), 0, 1)
uri: [email protected]
bottom:
type: component.titles
options:
align: center
title: [email protected]
subtitle: =$fromMillis($toMillis(@ctx.datasources.dynamic-global.date-from),'[H01]:[m01]') & '-' & $fromMillis($toMillis(@ctx.datasources.dynamic-global.date-to),'[H01]:[m01]')
Avatar widget with title
Avatar widget/group with list

Avatar widget/group with title and list

Last updated
Was this helpful?