Quantcast
Browsing all 4826 articles
Browse latest View live

Injected service undefined while test runs

@Rashe wrote: I injected mock service to test, but while I run this test, the service is undefined. But in console log I see it. Component didInsertElement: function () { this._super(...arguments);...

View Article


Query params in JSON payload

@em.b wrote: Hi All, Newbie forum user here, also a newbie to ember. I am designing an ember app that must talk to an API that expects all query parameters to be passed in as a JSON object in the body...

View Article


Querying a search service

@em.b wrote: I'm prototyping a simple frontend that needs to send search queries to a backend API that ultimately ends up querying a search engine. The returned payload are not records per se but the...

View Article

Should i use a controller or do all the work in router?

@Harun_Tuncay wrote: Hi guys.I am new to ember.I have followed along with 2 tutorials.One uses controller, one doesn't. From what i have seen, not using controller looks better, less files, 1 place...

View Article

Salary Of the Web Developer

@Harun_Tuncay wrote: I am trying to learn web development to develop a career.But sometimes, all this different languages and some concepts make me reconsider my decision. I need some kind of...

View Article


Open multiple grid records for editing on same window

@ahmad wrote: I am going to transform an existing desktop application to web using either Ember or Angular 2. First I've to develop a POC. I have been developing applications in Angular 1&2 since...

View Article

Image may be NSFW.
Clik here to view.

I don't like doing injections in the initializers, what's wrong with me?

@xcambar wrote: Hi, It's pretty frequent to see in addons an initializer that does a bunch of injections such as:application.inject('route', serviceName, serviceLookupName);. I understand it's easy...

View Article

Is it fine to use more than one CSS component library?

@alidcastano wrote: For example, using ember-paper and semantic-ui-ember in conjunction? Posts: 1 Participants: 1 Read full topic

View Article


Actions in Routes?

@Harun_Tuncay wrote: Hi.I am new to ember.I've been following a tutorial, and something about actions bugged my mind.There is an 'index' template.Which doesn't have a model.Tutorial used a controller...

View Article


Ember.js: How to re-render component on change in controller?

@sudeep wrote: template.hbs {{foo data=value}}route.js setupController: function(controller, model) { controller.set('actions', { bar(param){ controller.set('value',param); } }); } the action bar is...

View Article

How do I use an external library inside ember-cli generate?

@Graham_Hunter wrote: I'd like to load SugarJS into Ember-CLI as I run my custom blueprint. I have SugarJS in both bower.json and package.json, have run bower install and npm install, and restarted my...

View Article

Firebase 3.0 Email/Password sign up

@chrisdeso wrote: Long time lurker – first time poster. I can't for the life of my figure out how to implement a sign up form with Firebase 3.0 and ember. I've worked through Yoember and have been...

View Article

How can I get ember-cli to exit in beforeInstall?

@Graham_Hunter wrote: I'd like to do some error checking in my beforeInstall and exit the generate process at that point if the conditions aren't met. How do I get ember-cli to stop during runtime?...

View Article


Creating new route on button click; pass button data and same model

@yogesharora28 wrote: I have an existing route (route1) which works fine and need to create another route (route2), which is called when a button (deep inside components) is clicked on route1. Am...

View Article

Image may be NSFW.
Clik here to view.

How can I get a custom blueprint to modify router.js?

@Graham_Hunter wrote: It seems as though the last thing I need to do with my custom ember blueprint is to add the declared routes into app/router.js. I can't see anything in the docs or API spec to...

View Article


Can't LEARN anything NEW!

@Harun_Tuncay wrote: Hi.I am new to emberjs.I know how to make a simple CRUD app. I know that is almost nothing but that's why ı want to learn much more than that but i can't find any source to do so....

View Article

How to bind multiple properties to child component at once?

@Senthe wrote: Let's say I have something like this: = parent-component = child-component property=property It is bind so when I change it in one place it also updates in another. But when parent has...

View Article


Image may be NSFW.
Clik here to view.

Ember-data store my attr('number') as a string!? Why?

@Myrdhin wrote: Hello, I define this model: import DS from 'ember-data'; export default DS.Model.extend({ nb: DS.attr('number') }); And, in my template, i use: {{input name="mynb" value=(mut...

View Article

Component lifecycle & didReceiveAttrs

@accelerate wrote: Hello, Hopefully quick question. Will a component go through its lifecycle only if its attributes change? ie, if I have {{my-component foo=bar}} And bar never changes (or it gets...

View Article

Migrate Ember 1.7 to Ember 2.9

@vinngn wrote: We have a quite large app building on top of Ember 1.7. There are quite a significant portion of the code is legacy and we want to refactor/re-architecture to get rid of. The goal is to...

View Article
Browsing all 4826 articles
Browse latest View live