mirror of
https://github.com/Raghu-Ch/angular-accessibility.git
synced 2026-02-10 04:43:02 -05:00
codelab: control focus with FocusTrap
This commit is contained in:
@@ -15,7 +15,7 @@ limitations under the License.
|
||||
-->
|
||||
<div mat-dialog-content>
|
||||
<!-- TODO: #10. Control focus with FocusTrap -->
|
||||
<mat-selection-list #colors aria-label="Dumpling wrapper color" multiple="false">
|
||||
<mat-selection-list #colors aria-label="Dumpling wrapper color" multiple="false" cdkFocusInitial>
|
||||
<mat-list-option *ngFor="let paint of defaultColors" [value]="paint" color="primary">
|
||||
<div class="color-option">
|
||||
<div class="circle" [ngStyle]="{'background': paint}"></div>
|
||||
|
||||
Reference in New Issue
Block a user