When does initialConfig get called? What’s the difference between it and initComponent?
When does initialConfig get called? What’s the difference between it and initComponent?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
initialConfignever gets called, because it is not a function.It’s the configuration object, that was used to configure the component when it was actually created.
For example when you do:
the
object becomes a read only property
textField.initialConfiginitComponent()is a private function, that is responsible for configuring the component during creation.