Timeline for Check component attribute exists
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 7, 2017 at 6:56 | comment | added | Saroj Bera | @Menzman Maybe this is due to locker service, I will update the answer if I find something. | |
Jun 7, 2017 at 6:54 | history | edited | Saroj Bera | CC BY-SA 3.0 |
deleted 47 characters in body
|
Jun 7, 2017 at 6:54 | comment | added | Saroj Bera | @sfdcfox Thanks for your suggestion, I updated my answer. | |
Jun 6, 2017 at 14:40 | comment | added | Christian Menzinger | Thank you for your thoughts - I have updated my question because what you proposed is exactly what I struggle with (maybe a Summer17 behavior-change) | |
Jun 6, 2017 at 14:25 | comment | added | sfdcfox♦ |
Really, that's not necessary. Both undefined and null are falsy values, so if(component.get("Attr")) would be the same as what you wrote.
|
|
Jun 6, 2017 at 14:08 | history | answered | Saroj Bera | CC BY-SA 3.0 |