function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
chandrashekar Jangitichandrashekar Jangiti 

can we pass parameter to a constructor from lightning component?

Hi Folks...

can we pass a parameter to a constructor from lightning component?

Thanks,
Chandu
Meghna Vijay 7Meghna Vijay 7
Hi,
AuraEnabled is not allowed on constructors so we can't call it from lightning component.
Thanks