sass-references/angular-material/material/snack-bar/snack-bar-container.html

16 lines
660 B
HTML
Raw Normal View History

2024-12-06 10:42:08 +08:00
<div class="mdc-snackbar__surface mat-mdc-snackbar-surface">
<!--
This outer label wrapper will have the class `mdc-snackbar__label` applied if
the attached template/component does not contain it.
-->
<div class="mat-mdc-snack-bar-label" #label>
<!-- Initialy holds the snack bar content, will be empty after announcing to screen readers. -->
<div aria-hidden="true">
<ng-template cdkPortalOutlet />
</div>
<!-- Will receive the snack bar content from the non-live div, move will happen a short delay after opening -->
<div [attr.aria-live]="_live" [attr.role]="_role" [attr.id]="_liveElementId"></div>
</div>
</div>