Skip to content

docs(snackbar): Add description for MatSnackBarHorizontalPosition and MatSnackBarVerticalPosition #10468

Closed
@julianobrasil

Description

@julianobrasil

Bug, feature request, or proposal:

Request: apparently the docs generator doesn't take code comments associated with types definitions and interfaces to the docs site. So there should be some topic on the overview tab describing the possible values for MatSnackBarHorizontalPosition and MatSnackBarVerticalPosition.

What is the expected behavior?

Find explanation about the possible values for MatSnackBarHorizontalPosition and MatSnackBarVerticalPosition in the docs site.

What is the current behavior?

You must read the source code or rely on IDE features to know the possible values.

https://github.com/angular/material2/blob/c28549d088c4462bf64078db5442a123542bf1be/src/lib/snack-bar/snack-bar-config.ts#L16-L20

Generally speaking the automatic document generation should include types and interfaces documentation comments in the API tab.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions