Event indicating app is loaded

Is there any event, which I can listen for which triggers when the app is completely loaded?

Comments

  • Sorry , what I meant was, When all the components in landing view are rendered, is there an event that is triggered. Thank you for your response though I will look in the wiki page
  • The rendered() method is what you're looking for. There isn't an event but that method is called once a control has been rendered into the DOM. If you override it for your top-level kind, you can do additional initialization that requires the DOM nodes.
    
    enyo.kind({
        name: "YourKind",
        kind: "Control",
        rendered: function() {
            this.inherited(arguments);
            // do additional setup
        }
    });
    
Sign In or Register to comment.