-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Description
Bug, feature request, or proposal:
I use sample in https://stackblitz.com/angular/nvppaoepjnel?file=app%2Fbottom-sheet-overview-example.ts
modify a bit code
mat-bottom-sheet component
export class BottomSheetOverviewExample {
...
title='init value must change after 3 seconds';
onOnInit(){
setTimeout(() => {
this.title = "val after 3 seconds";
console.log(this.title);
}, 3000);
}
What is the expected behavior?
{{title}} in html will change after 3 seconds
What is the current behavior?
{{title}} no change
What are the steps to reproduce?
Providing a StackBlitz reproduction is the best way to share your issue.
StackBlitz starter: https://goo.gl/wwnhMV
https://stackblitz.com/angular/nvppaoepjnel?file=app%2Fbottom-sheet-overview-example.ts
I change a bit code as image attached
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular version 6, Material 2, win 10, Typescript latest, Chrome latest
Is there anything else we should know?
m-spyratos and gizmodus
Metadata
Metadata
Assignees
Labels
No labels