Closed
Description
Bug, feature request, or proposal:
Feature request
What is the expected behavior?
Having a standard for the instance reference and sharing data.
What is the current behavior?
To get the component instance of a SnackBarRef, the attribute is "instance".
To get the component instance of a DialogRef, the attribute is "componentInstance". Besides, in the documentation we can see a method to share data directly has been implemented, it's not the case for SnackBarRef.
What is the use-case or motivation for changing an existing behavior?
I think having a standard for these components "with reference" would be clearer for the user.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Latest of each.