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
crisbeto
added
docs
This issue is related to documentation
has pr
P4
A relatively minor issue that is not relevant to core functions
labels
Feb 14, 2018
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Feb 14, 2018
Bug, feature request, or proposal:
Bug - mistake in documentation for material.angular.io
What is the expected behavior?
Working according to documentation/example.
What is the current behavior?
This example:
https://material.angular.io/components/menu/overview#passing-in-data-to-a-menu
is not working, throws error
"Template parse errors: "let-" is only supported on ng-template elements."
What are the steps to reproduce?
https://stackblitz.com/edit/angular-rlfbhk
What is the use-case or motivation for changing an existing behavior?
... i think motivation is obvious. There is a malfunctioned example in documentation.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
all
Is there anything else we should know?
working example is here, at the very bottom in .spec
https://github.com/angular/material2/blob/master/src/lib/menu/menu.spec.ts
Current documentation is here:
https://github.com/angular/material2/blob/master/src/lib/menu/menu.md
The text was updated successfully, but these errors were encountered: