Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 330 Bytes

getevt-markup-prefix.md

File metadata and controls

17 lines (11 loc) · 330 Bytes

Ensure $A.getEvt is prefixed with markup:// (getevt-markup-prefix)

When using $A.getEvt(), the prefix to the first parameter should be markup://.

Rule Details

The following pattern is considered an error:

$A.getEvt('c:appEvent');

Example of correct code:

$A.getEvt('markup://c:appEvent');