ipsos-components
Version:
Material Design components for Angular
27 lines (22 loc) • 662 B
text/typescript
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import {Component} from '@angular/core';
import {MatSnackBar} from '@angular/material';
({
moduleId: module.id,
selector: 'card-a11y',
templateUrl: 'card-a11y.html',
styleUrls: ['card-a11y.css'],
})
export class CardAccessibilityDemo {
showProgress: boolean = false;
constructor(private snackBar: MatSnackBar) {}
openSnackbar(message: string) {
this.snackBar.open(message, '', {duration: 2000});
}
}