File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
projects/igniteui-angular/src/lib/avatar Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ A walkthrough of how to get started can be found [here](https://www.infragistics
55
66# Usage
77``` html
8- <igx-avatar roundShape =" true" icon =" person" bgColor =" #0375be" data-init =" SS" >
8+ <igx-avatar [ roundShape] =" true" icon =" person" bgColor =" #0375be" data-init =" SS" >
99</igx-avatar >
1010```
1111
@@ -27,7 +27,7 @@ A walkthrough of how to get started can be found [here](https://www.infragistics
2727
2828Using ` igx-avatar ` tag to include it into your app.
2929``` html
30- <igx-avatar roundShape =" true" icon =" person" bgColor =" #0375be" data-init =" SS" >
30+ <igx-avatar [ roundShape] =" true" icon =" person" bgColor =" #0375be" data-init =" SS" >
3131</igx-avatar >
3232```
3333
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ export type IgxAvatarType = (typeof IgxAvatarType)[keyof typeof IgxAvatarType];
4747 *
4848 * @example
4949 * ```html
50- * <igx-avatar initials="MS" roundShape="true" size="large">
50+ * <igx-avatar initials="MS" [ roundShape] ="true" size="large">
5151 * </igx-avatar>
5252 * ```
5353 */
@@ -145,12 +145,12 @@ export class IgxAvatarComponent implements OnInit {
145145 public id = `igx-avatar-${ NEXT_ID ++ } ` ;
146146
147147 /**
148- * Sets a round shape to the avatar, if `roundShape` is set to `true`.
148+ * Sets a round shape to the avatar, if `[ roundShape] ` is set to `true`.
149149 * By default the shape of the avatar is a square.
150150 *
151151 * @example
152152 * ```html
153- * <igx-avatar roundShape="true" ></igx-avatar>
153+ * <igx-avatar [ roundShape] ="true" ></igx-avatar>
154154 * ```
155155 */
156156
You can’t perform that action at this time.
0 commit comments