Skip to content

Passing @click is discouraged by linting #166

@jrjohnson

Description

@jrjohnson

In v3 of ember-template-lint passing @click is now flagged in the default rules the suggested change is to modify this API to @onClick.

We'll probably want to add both and deprecate using @click. This should still be handled by the component and not by the consumer because FA adds additional a11y attributes when a click handler is added to an icon.

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