ページを開いたときに初期処理がある場合のAuraコンポーネントの書き方
cmp側
<ltng:require scripts="" afterScriptsLoaded="{!c.initialize}"/>
controller.js側
initialize : function (component, event, helper) {…}
ページを開いたときに初期処理がある場合のAuraコンポーネントの書き方
cmp側
<ltng:require scripts="" afterScriptsLoaded="{!c.initialize}"/>
controller.js側
initialize : function (component, event, helper) {…}