@openui5/sap.m
Version:
OpenUI5 UI Library sap.m
35 lines (30 loc) • 610 B
JavaScript
/*!
* 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 shape for the {@link sap.m.Avatar} control.
*
* @enum {string}
* @public
* @alias sap.m.AvatarShape
* @since 1.73
*/
var AvatarShape = {
/**
* Circular shape.
* @public
*/
Circle: "Circle",
/**
* Square shape.
* @public
*/
Square: "Square"
};
DataType.registerEnum("sap.m.AvatarShape", AvatarShape);
return AvatarShape;
});