@@ -24,15 +24,15 @@ let NEXT_ID = 0;
2424 selector : 'igx-card-media'
2525} )
2626export class IgxCardMediaDirective {
27- /**
28- * @hidden
29- */
27+ /** @hidden @internal */
3028 @HostBinding ( 'class.igx-card__media' )
3129 public cssClass = 'igx-card__media' ;
3230
3331 /**
3432 * An @Input property that sets the `width` and `min-width` style property
3533 * of the media container. If not provided it will be set to `auto`.
34+ *
35+ * @example
3636 * ```html
3737 * <igx-card-media width="300px"></igx-card-media>
3838 * ```
@@ -45,6 +45,8 @@ export class IgxCardMediaDirective {
4545 /**
4646 * An @Input property that sets the `height` style property of the media container.
4747 * If not provided it will be set to `auto`.
48+ *
49+ * @example
4850 * ```html
4951 * <igx-card-media height="50%"></igx-card-media>
5052 * ```
@@ -69,15 +71,15 @@ export class IgxCardMediaDirective {
6971 templateUrl : 'card-header.component.html'
7072} )
7173export class IgxCardHeaderComponent {
72- /**
73- * @hidden
74- */
74+ /** @hidden @internal */
7575 @HostBinding ( 'class.igx-card-header' )
7676 public cssClass = 'igx-card-header' ;
7777
7878 /**
7979 * An @Input property that sets the layout style of the header.
8080 * By default the header elements(thumbnail and title/subtitle) are aligned horizontally.
81+ *
82+ * @example
8183 * ```html
8284 * <igx-card-header [vertical]="true"></igx-card-header>
8385 * ```
@@ -89,6 +91,8 @@ export class IgxCardHeaderComponent {
8991 /**
9092 * An @Input property that sets the value of the `role` attribute of the card header.
9193 * By default the value is set to `header`.
94+ *
95+ * @example
9296 * ```html
9397 * <igx-card-header role="header"></igx-card-header>
9498 * ```
@@ -114,9 +118,7 @@ export class IgxCardThumbnailDirective { }
114118 selector : '[igxCardHeaderTitle]'
115119} )
116120export class IgxCardHeaderTitleDirective {
117- /**
118- * @hidden
119- */
121+ /** @hidden @internal */
120122 @HostBinding ( 'class.igx-card-header__title' )
121123 public cssClass = 'igx-card__header__title' ;
122124}
@@ -129,9 +131,7 @@ export class IgxCardHeaderTitleDirective {
129131 selector : '[igxCardHeaderSubtitle]'
130132} )
131133export class IgxCardHeaderSubtitleDirective {
132- /**
133- * @hidden
134- */
134+ /** @hidden @internal */
135135 @HostBinding ( 'class.igx-card-header__subtitle' )
136136 public cssClass = 'igx-card-header__subtitle' ;
137137}
@@ -143,9 +143,7 @@ export class IgxCardHeaderSubtitleDirective {
143143 selector : 'igx-card-content'
144144} )
145145export class IgxCardContentDirective {
146- /**
147- * @hidden
148- */
146+ /** @hidden @internal */
149147 @HostBinding ( 'class.igx-card-content' )
150148 public cssClass = 'igx-card-content' ;
151149}
@@ -161,6 +159,8 @@ export class IgxCardFooterDirective {
161159 /**
162160 * An @Input property that sets the value of the `role` attribute of the card footer.
163161 * By default the value is set to `footer`.
162+ *
163+ * @example
164164 * ```html
165165 * <igx-card-footer role="footer"></igx-card-footer>
166166 * ```
@@ -171,13 +171,21 @@ export class IgxCardFooterDirective {
171171}
172172
173173/**
174- * **Ignite UI for Angular Card** -
175- * [Documentation](https://www.infragistics.com/products/ignite-ui-angular/angular/components/card.html)
174+ * Card provides a way to display organized content in appealing way.
175+ *
176+ * @igxModule IgxCardModule
177+ *
178+ * @igxTheme igx-card-theme, igx-icon-theme, igx-button-theme
179+ *
180+ * @igxKeywords card, button, avatar, icon
181+ *
182+ * @igxGroup Layouts
176183 *
184+ * @remarks
177185 * The Ignite UI Card serves as a container that allows custom content to be organized in an appealing way. There are
178186 * five sections in a card that you can use to organize your content. These are header, media, content, actions, and footer.
179187 *
180- * Example:
188+ * @example
181189 * ```html
182190 * <igx-card>
183191 * <igx-card-header>
@@ -205,13 +213,14 @@ export class IgxCardComponent {
205213 /**
206214 * Sets/gets the `id` of the card.
207215 * If not set, `id` will have value `"igx-card-0"`;
216+ *
217+ * @example
208218 * ```html
209219 * <igx-card id = "my-first-card"></igx-card>
210220 * ```
211221 * ```typescript
212222 * let cardId = this.card.id;
213223 * ```
214- * @memberof IgxCardComponent
215224 */
216225 @HostBinding ( 'attr.id' )
217226 @Input ( )
@@ -220,6 +229,8 @@ export class IgxCardComponent {
220229 /**
221230 * An @Input property that sets the value of the `role` attribute of the card.
222231 * By default the value is set to `group`.
232+ *
233+ * @example
223234 * ```html
224235 * <igx-card role="group"></igx-card>
225236 * ```
@@ -232,6 +243,8 @@ export class IgxCardComponent {
232243 * An @Input property that sets the value of the `type` attribute of the card.
233244 * By default the value is set to `default`. You can make the card use the
234245 * outlined style by setting the value to `outlined`.
246+ *
247+ * @example
235248 * ```html
236249 * <igx-card type="outlined"></igx-card>
237250 * ```
@@ -252,6 +265,8 @@ export class IgxCardComponent {
252265 * An @Input property that sets the value of the `horizontal` attribute of the card.
253266 * Setting this to `true` will make the different card sections align horizontally,
254267 * essentially flipping the card to the side.
268+ *
269+ * @example
255270 * ```html
256271 * <igx-card [horizontal]="true"></igx-card>
257272 * ```
@@ -286,6 +301,8 @@ export class IgxCardActionsComponent implements OnInit, OnChanges {
286301 * of the card-actions area.
287302 * You can justify the elements in those groups so they are positioned equally
288303 * from one another taking up all the space available along the card actions axis.
304+ *
305+ * @example
289306 * ```html
290307 * <igx-card-actions layout="justify"></igx-card-actions>
291308 * ```
@@ -318,6 +335,8 @@ export class IgxCardActionsComponent implements OnInit, OnChanges {
318335 * placed in the actions area.
319336 * If you want to reverse their positions so that icons appear first, use the `reverse`
320337 * attribute.
338+ *
339+ * @example
321340 * ```html
322341 * <igx-card-actions [reverse]="true"></igx-card-actions>
323342 * ```
0 commit comments