"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/lib/snack-bar/snack-bar-container.ts" between
material2-7.3.5.tar.gz and material2-7.3.6.tar.gz

About: material2 offers Material Design components for Angular.

snack-bar-container.ts  (material2-7.3.5):snack-bar-container.ts  (material2-7.3.6)
skipping to change at line 42 skipping to change at line 42
/** /**
* Internal component that wraps user-provided snack bar content. * Internal component that wraps user-provided snack bar content.
* @docs-private * @docs-private
*/ */
@Component({ @Component({
moduleId: module.id, moduleId: module.id,
selector: 'snack-bar-container', selector: 'snack-bar-container',
templateUrl: 'snack-bar-container.html', templateUrl: 'snack-bar-container.html',
styleUrls: ['snack-bar-container.css'], styleUrls: ['snack-bar-container.css'],
changeDetection: ChangeDetectionStrategy.OnPush, // In Ivy embedded views will be change detected from their declaration place,
rather than
// where they were stamped out. This means that we can't have the snack bar co
ntainer be OnPush,
// because it might cause snack bars that were opened from a template not to b
e out of date.
// tslint:disable-next-line:validate-decorators
changeDetection: ChangeDetectionStrategy.Default,
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
animations: [matSnackBarAnimations.snackBarState], animations: [matSnackBarAnimations.snackBarState],
host: { host: {
'[attr.role]': '_role', '[attr.role]': '_role',
'class': 'mat-snack-bar-container', 'class': 'mat-snack-bar-container',
'[@state]': '_animationState', '[@state]': '_animationState',
'(@state.done)': 'onAnimationEnd($event)' '(@state.done)': 'onAnimationEnd($event)'
}, },
}) })
export class MatSnackBarContainer extends BasePortalOutlet implements OnDestroy { export class MatSnackBarContainer extends BasePortalOutlet implements OnDestroy {
 End of changes. 1 change blocks. 
1 lines changed or deleted 8 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)