Quantcast
Browsing all 4826 articles
Browse latest View live

Ember 2.11 does not generate acceptance test

@Plutoniummatt wrote: Folllwing the tutorial for Ember 2.11, the following command does not generate a test file in tests/acceptance as it has done previously. ember g acceptance-test some-test I have...

View Article


Image may be NSFW.
Clik here to view.

How to draw table with ember

@polin11 wrote: You need to draw the table after the user enters the size of the tableDecided to change the template game-line.hbs ember.png848x288 6.34 KB game-line.js import Ember from 'ember';...

View Article


Ember protect multiple templates

@Impulsius wrote: I'm fairly new to ember and are trying to create a app with a user login. I have solve this by using Auth0 and after entering credentials the user is redirected to protected.hbs. My...

View Article

Image may be NSFW.
Clik here to view.

How to get access a model data inside controller Ember 2.11.0

@Drugak wrote: Hi guys , I have really big confuse with providing data from route to controller , please help me: route/application.js import Ember from 'ember'; export default Ember.Route.extend({...

View Article

Are AMP and non-AMP route possible?

@imdanwalton wrote: Hi all! I'm wondering if anyone knows how I might best approach this. I'm trying to develop a web application that renders both AMP and a non-AMP pages. The distinction between the...

View Article


How to properly redirect a route before the model

@tsteuwer wrote: I'm slightly confused as to where I should be putting redirects if I need them. For instance, say I have this route: import Ember from 'ember'; export default Ember.Route.extend({...

View Article

How to upload file to server in right way?

@dimas09 wrote: I have model User and I want to develop uploading avatar to server or to S3 bucket(but I think it's dangerous)What is the best practice to upload files to server? I have two ideas....

View Article

Routes with same query params

@accelerate wrote: If I have a route and sub-route (eg. /reports/:report_id and /reports/:report_id/charts/:chart_id) and they have both the same query parameters (eg. "start_date" & "end_date"),...

View Article


Need to create resource bundle

@parekhpiya2002 wrote: Hello All, I need to create resource bundle type of file in ember.Can anybody please help me in guiding how to do it? Thanks & Regards,Priyanka Posts: 1 Participants: 1 Read...

View Article


Image may be NSFW.
Clik here to view.

Emberjs Modal as a route

@kaelin wrote: Usecase:In my application I need a modal with URL state that can be accessed from any route. The previous state should also be persisted so that I can return to it on closing the modal....

View Article

Computed.sort 10 times slower than sortBy

@Tobias_Wenger wrote: Hello In my project I have an array with a few thousands elements which needs to be sorted. My first attempt was to use dataSorting: ['property'], dataSorted:...

View Article

Observer on parent controller property

@ioanszabo wrote: Hi, Here is my child controller: import Ember from 'ember'; export default Ember.Controller.extend({ excluded: ["driverID", "vehicleID"], reportsController:...

View Article

Best way to pass a message between routes

@Fortiz2305 wrote: Hi all, What do you recommend to pass a message between routes? What I would like to get is: Sign up page where you can register yourself in the application. If the register process...

View Article


Image may be NSFW.
Clik here to view.

Action to load more data and refresh template

@blainelang wrote: I have a working solution with paging working but was exploring how I could load more data and have the results appended to the page. Still learning Ember and exploring ideas at...

View Article

Capture return keypress on template action helper

@internetmosquito wrote: Hello everyone! I'm trying to capture a return keyPress event on a template action helper. Basically this is a login form, so I want users to be able to type the password and...

View Article


Handler for clicking the right button of the mouse

@polin11 wrote: Hellow, how to write an event handler for the clicking the right mouse buttonMy exampletemplate.hbs `<button {{action "click_button"}} id='my_button'>Click and get...

View Article

Scroll a component's window with arrow keys

@midget2000x wrote: I'm working on an autocomplete window that's 300px high. Sometimes the content within it causes that window to scroll - which is desired behavior. I've added keyDown functions so...

View Article


Collapse on click problem

@walid89 wrote: Hello there,I am a beginner in EmberJS after importing a template for my admin dashboard project i have a problem in collapse menu , dropdown (ul li ) they dont work on click . Have...

View Article

How to update page when changes done to model used in #each?

@sim085 wrote: Maybe another way to ask the question is how to refresh the #each part of a page. My scenario is as follows: I return a model from my route with the following structure: { title:...

View Article

Access Route Request Headers

@malissa wrote: I need to access a custom header (set by a proxy) when my ember route is hit. Typically in an expressjs app I would do it like this: app.get('/', function(req, res){...

View Article
Browsing all 4826 articles
Browse latest View live