You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to show the local variables in the md-dialog template???? I want to display the value of item
@Component({
template: `
<p>This is a dialog</p>
<p>
{{item}}
<label>
This is a text box inside of a dialog.
<input #dialogInput>
</label>
</p>
<p> <button md-button (click)="dialogRef.close(dialogInput.value)">CLOSE</button> </p>
`,
})
export class DialogContent {
constructor(@Optional() public dialogRef: MdDialogRef<DialogContent>) { }
}
The text was updated successfully, but these errors were encountered:
----in my html code---
<td *ngIf="item.clickable=='yes'" (click)="openDialog(item)">{{item.kilo[0] | number: '1.2-2'}}</td>
---in my component code---
How to show the local variables in the md-dialog template???? I want to display the value of item
The text was updated successfully, but these errors were encountered: