Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9242317
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T08:33:23+00:00 2026-06-18T08:33:23+00:00

Using third party framework, I want set selected value. Is there is any hook

  • 0

Using third party framework, I want set selected value.

Is there is any hook after view inserted into DOM in ember.js new router?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T08:33:24+00:00Added an answer on June 18, 2026 at 8:33 am

    Agreed with Karl above. However, maybe you’ve just asked the question in a bad way. In the new router, you have the setupController, which is invoked when Ember moves into that route. So for example, if you move into /#/dashboard, then DashboardController, DashboardView, DashboardRoute will all be initialised.

    Aside from the fact that you could use the didInsertElement on the DashboardView at this point, you have the setupController method which you can overwrite in the DashboardRoute. In here you can set-up the controller, and perhaps do whatever it is you’re trying to do:

    (The setupController will only be invoked when you enter the route, but the view won’t have rendered by the time you’re moving into it. For that you’ll need didInsertElement and that’s that. setupController is for setting up the controller, which can be thought of as an ever-persistent singleton.)

    var DashboardRoute = Ember.Route.extend({
        setupController: function(controller) {
            // We're in the route, so let's do something now.
            controller.set('myText', 'Add this to the controller!');
        }
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on Unit Test using third party framework GHUnit, created project added
Does anyone have experience using a third-party unit testing framework for SAS such as
What is the simplest way (preferably without using third party frameworks) in objective c,
When using third-party libraries such as jquery, yui-reset, swfobject and so on, do you
Hi we are using third party tool 'ooyala' for our video in site, Ooyala
Is it possible in IE8 without using third party plugin like Java?
Am using below third party API in my project development http://undesigned.org.za/2007/10/22/amazon-s3-php-class I have done
We are using a Third-Party assembly that seems to be compiled as AnyCPU. However,
I'm using a third party library which has a blocking function, that is, it
I am using some third party library to connect to a server via async

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.