Skip to content

Commit 3a7bcee

Browse files
committed
refactor(toast): hide all class host bindings
1 parent 2f8e44b commit 3a7bcee

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

projects/igniteui-angular/src/lib/toast/toast.component.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,16 +306,25 @@ export class IgxToastComponent implements IToggleView, OnInit, OnDestroy {
306306
this.isVisible ? this.close() : this.open();
307307
}
308308

309+
/**
310+
* @hidden
311+
*/
309312
@HostBinding('class.igx-toast--top')
310313
public get cssClassTop() {
311314
return this.position === IgxToastPosition.Top;
312315
}
313316

317+
/**
318+
* @hidden
319+
*/
314320
@HostBinding('class.igx-toast--middle')
315321
public get cssClassMiddle() {
316322
return this.position === IgxToastPosition.Middle;
317323
}
318324

325+
/**
326+
* @hidden
327+
*/
319328
@HostBinding('class.igx-toast--bottom')
320329
public get cssClassBottom() {
321330
return this.position === IgxToastPosition.Bottom;

0 commit comments

Comments
 (0)