UNPKG

@openui5/sap.m

Version:

OpenUI5 UI Library sap.m

39 lines (35 loc) 735 B
/*! * OpenUI5 * (c) Copyright 2026 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ sap.ui.define(["sap/ui/base/DataType"], function(DataType) { "use strict"; /** * Types of {@link sap.m.Avatar} based on the displayed content. * * @enum {string} * @public * @alias sap.m.AvatarType * @since 1.73 */ var AvatarType = { /** * The displayed content is an icon. * @public */ Icon: "Icon", /** * The displayed content is an image. * @public */ Image: "Image", /** * The displayed content is initials. * @public */ Initials: "Initials" }; DataType.registerEnum("sap.m.AvatarType", AvatarType); return AvatarType; });