Skip to content

Commit 9568d0c

Browse files
Lantzifynathanwoulfe
authored andcommitted
Added name & color description for umbAvatar
1 parent aba5edc commit 9568d0c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Umbraco.Web.UI.Client/src/common/directives/components/umbavatar.directive.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ Use this directive to render an avatar.
4545
@param {string} size (<code>attribute</code>): The size of the avatar (xs, s, m, l, xl).
4646
@param {string} img-src (<code>attribute</code>): The image source to the avatar.
4747
@param {string} img-srcset (<code>atribute</code>): Reponsive support for the image source.
48+
@param {string=} name (<code>attribute</code>): Name initials will be used if no image source.
49+
@param {string=} color (<code>attribute</code>): Color will be used if no image source (primary, secondary, success, warning, danger).
4850
**/
4951

5052
(function() {

0 commit comments

Comments
 (0)