This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import FAvatarGroupItem from 'sap/f/AvatarGroupItem'; | |
import Avatar from 'sap/m/Avatar'; | |
import type AvatarColor from 'sap/m/AvatarColor'; | |
import type Event from 'sap/ui/base/Event'; | |
import { ValueState } from 'sap/ui/core/library'; | |
@namespace('your.namespace') | |
export default class AvatarGroupItem extends FAvatarGroupItem { | |
public static readonly metadata = { | |
library: 'your.namespace', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
registerXMLPreprocessor: function () { | |
// Views that use templating must add xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1" | |
const oLocal = this.getModel('local'); | |
XMLView.registerPreprocessor( | |
'XML', | |
'sap.ui.core.util.XMLPreprocessor', | |
'XML', | |
false, |