Skip to content

docs-bug(Menu): Aria Menu has an output prefixed with "on", discouraged elsewhere #32727

@nivekh

Description

@nivekh

Documentation Feedback

https://angular.dev/guide/components/outputs#choosing-event-names

Avoid prefixing output names with "on".

https://angular.dev/api/aria/menu/Menu

onSelect
A callback function triggered when a menu item is selected.

Ran into this when @angular-eslint/no-output-on-prefix linter rule fired in a component which is forwarding this directive.

Affected documentation page

https://angular.dev/api/aria/menu/Menu

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentaria/gridaria/menu

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions