This rule forbids the use of {{action}} modifiers on elements.
The recommended alternative is the on modifier. on is available in Ember 3.11+ and by polyfill for earlier versions.
This rule forbids the following:
This rule allows the following:
The following values are valid configuration:
- boolean --
truefor enabled /falsefor disabled - array -- an allowlist of element tag names, which will accept action modifiers
- Documentation for template actions
- Polyfill for the
onmodifier (needed below Ember 3.11) - Spec for the
onmodifier - Spec for the
actionmodifier