@@ -88,27 +88,27 @@ export class IgxButtonGroupComponent extends DisplayDensityBase implements After
8888 /**
8989 * Allows you to set a style using the `itemContentCssClass` input.
9090 * The value should be the CSS class name that will be applied to the button group.
91- *```typescript
92- *public style1 = "styleClass";
93- * //..
94- *```
95- * ```html
96- *<igx-buttongroup [itemContentCssClass]="style1" [multiSelection]="!multi" [values]="alignOptions">
97- *```
91+ * ```typescript
92+ * public style1 = "styleClass";
93+ * //..
94+ * ```
95+ * ```html
96+ * <igx-buttongroup [itemContentCssClass]="style1" [multiSelection]="!multi" [values]="alignOptions">
97+ * ```
9898 */
9999 @Input ( ) set itemContentCssClass ( value : string ) {
100100 this . _itemContentCssClass = value || this . _itemContentCssClass ;
101101 }
102102
103103 /**
104104 * Returns the CSS class of the item content of the `IgxButtonGroup`.
105- *```typescript
106- *@ViewChild ("MyChild")
107- *public buttonG: IgxButtonGroupComponent;
108- *ngAfterViewInit(){
109- * let buttonSelect = this.buttonG.itemContentCssClass;
110- *}
111- *```
105+ * ```typescript
106+ * @ViewChild ("MyChild")
107+ * public buttonG: IgxButtonGroupComponent;
108+ * ngAfterViewInit(){
109+ * let buttonSelect = this.buttonG.itemContentCssClass;
110+ * }
111+ * ```
112112 */
113113 get itemContentCssClass ( ) : string {
114114 return this . _itemContentCssClass ;
@@ -177,61 +177,61 @@ export class IgxButtonGroupComponent extends DisplayDensityBase implements After
177177 * Allows you to set the button group alignment.
178178 * Available options are `ButtonGroupAlignment.horizontal` (default) and `ButtonGroupAlignment.vertical`.
179179 * ```typescript
180- *public alignment = ButtonGroupAlignment.vertical;
180+ * public alignment = ButtonGroupAlignment.vertical;
181181 * //..
182182 * ```
183183 * ```html
184- *<igx-buttongroup [multiSelection]="false" [values]="cities" [alignment]="alignment"></igx-buttongroup>
184+ * <igx-buttongroup [multiSelection]="false" [values]="cities" [alignment]="alignment"></igx-buttongroup>
185185 * ```
186186 */
187187 @Input ( ) set alignment ( value : ButtonGroupAlignment ) {
188188 this . _isVertical = value === ButtonGroupAlignment . vertical ;
189189 }
190190 /**
191191 * Returns the alignment of the `igx-buttongroup`.
192- *```typescript
193- *@ViewChild ("MyChild")
194- *public buttonG: IgxButtonGroupComponent;
195- *ngAfterViewInit(){
192+ * ```typescript
193+ * @ViewChild ("MyChild")
194+ * public buttonG: IgxButtonGroupComponent;
195+ * ngAfterViewInit(){
196196 * let buttonAlignment = this.buttonG.alignment;
197- *}
198- *```
197+ * }
198+ * ```
199199 */
200200 get alignment ( ) : ButtonGroupAlignment {
201201 return this . _isVertical ? ButtonGroupAlignment . vertical : ButtonGroupAlignment . horizontal ;
202202 }
203203
204204 /**
205205 * An @Ouput property that emits an event when a button is selected.
206- *```typescript
207- *@ViewChild ("toast")
208- *private toast: IgxToastComponent;
209- *public onSelect(buttongroup){
210- * this.toast.show()
211- *}
212- * //...
213- *```
214- *```html
206+ * ```typescript
207+ * @ViewChild ("toast")
208+ * private toast: IgxToastComponent;
209+ * public onSelect(buttongroup){
210+ * this.toast.show()
211+ * }
212+ * //...
213+ * ```
214+ * ```html
215215 * <igx-buttongroup #MyChild [multiSelection]="!multi" (onSelect)="onSelect($event)"></igx-buttongroup>
216- *<igx-toast #toast message="You have made a selection!"></igx-toast>
217- *```
216+ * <igx-toast #toast message="You have made a selection!"></igx-toast>
217+ * ```
218218 */
219219 @Output ( ) public onSelect = new EventEmitter < IButtonGroupEventArgs > ( ) ;
220220
221221 /**
222222 * An @Ouput property that emits an event when a button is deselected.
223- *```typescript
224- *@ViewChild ("toast")
225- *private toast: IgxToastComponent;
226- *public onUnselect(buttongroup){
227- * this.toast.show()
228- *}
229- * //...
230- *```
231- *```html
232- * igx-buttongroup #MyChild [multiSelection]="multi" (onUnselect)="onUnselect($event)"></igx-buttongroup>
233- *<igx-toast #toast message="You have deselected a button!"></igx-toast>
234- *```
223+ * ```typescript
224+ * @ViewChild ("toast")
225+ * private toast: IgxToastComponent;
226+ * public onUnselect(buttongroup){
227+ * this.toast.show()
228+ * }
229+ * //...
230+ * ```
231+ * ```html
232+ * < igx-buttongroup> #MyChild [multiSelection]="multi" (onUnselect)="onUnselect($event)"></igx-buttongroup>
233+ * <igx-toast #toast message="You have deselected a button!"></igx-toast>
234+ * ```
235235 */
236236 @Output ( ) public onUnselect = new EventEmitter < IButtonGroupEventArgs > ( ) ;
237237
@@ -243,12 +243,12 @@ export class IgxButtonGroupComponent extends DisplayDensityBase implements After
243243 * ```
244244 * ```typescript
245245 * //...
246- *@ViewChild ("MyChild")
247- *private buttonG: IgxButtonGroupComponent;
248- *ngAfterViewInit(){
246+ * @ViewChild ("MyChild")
247+ * private buttonG: IgxButtonGroupComponent;
248+ * ngAfterViewInit(){
249249 * let orientation = this.buttonG.isVertical;
250- *}
251- *```
250+ * }
251+ * ```
252252 */
253253 public get isVertical ( ) : boolean {
254254 return this . _isVertical ;
@@ -263,13 +263,13 @@ export class IgxButtonGroupComponent extends DisplayDensityBase implements After
263263
264264 /**
265265 * Gets the selected button/buttons.
266- *```typescript
267- *@ViewChild ("MyChild")
268- *private buttonG: IgxButtonGroupComponent;
269- *ngAfterViewInit(){
266+ * ```typescript
267+ * @ViewChild ("MyChild")
268+ * private buttonG: IgxButtonGroupComponent;
269+ * ngAfterViewInit(){
270270 * let selectedButton = this.buttonG.selectedButtons;
271- *}
272- *```
271+ * }
272+ * ```
273273 */
274274 get selectedButtons ( ) : IgxButtonDirective [ ] {
275275 return this . buttons . filter ( ( b , i ) => {
@@ -280,14 +280,14 @@ export class IgxButtonGroupComponent extends DisplayDensityBase implements After
280280
281281 /**
282282 * Selects a button by its index.
283- *```typescript
284- *@ViewChild ("MyChild")
285- *private buttonG: IgxButtonGroupComponent;
286- *ngAfterViewInit(){
283+ * ```typescript
284+ * @ViewChild ("MyChild")
285+ * private buttonG: IgxButtonGroupComponent;
286+ * ngAfterViewInit(){
287287 * this.buttonG.selectButton(2);
288288 * this.cdr.detectChanges();
289- *}
290- *```
289+ * }
290+ * ```
291291 * @memberOf {@link IgxButtonGroupComponent }
292292 */
293293 public selectButton ( index : number ) {
@@ -324,12 +324,12 @@ export class IgxButtonGroupComponent extends DisplayDensityBase implements After
324324 /**
325325 * Deselects a button by its index.
326326 * ```typescript
327- *@ViewChild ("MyChild")
328- *private buttonG: IgxButtonGroupComponent;
329- *ngAfterViewInit(){
327+ * @ViewChild ("MyChild")
328+ * private buttonG: IgxButtonGroupComponent;
329+ * ngAfterViewInit(){
330330 * this.buttonG.deselectButton(2);
331331 * this.cdr.detectChanges();
332- *}
332+ * }
333333 * ```
334334 * @memberOf {@link IgxButtonGroupComponent }
335335 */
@@ -412,7 +412,7 @@ export class IgxButtonGroupComponent extends DisplayDensityBase implements After
412412 }
413413
414414 /**
415- *@hidden
415+ * @hidden
416416 */
417417 public _clickHandler ( event , i ) {
418418 if ( this . selectedIndexes . indexOf ( i ) !== - 1 ) {
0 commit comments