Quantcast
Browsing all 4826 articles
Browse latest View live

Ember 2. Using components speeds up the rendering?

@ginolon wrote: I'm wondering if using components instead of putting the same code of them in a single .hbs template speeds up rendering. I have a long page (page.hbs) with many components (many {{#if...

View Article


For many functions (actions) is should use the Route or the Controller?

@ginolon wrote: Where I should put the code of many actions, it is correct to put them in my Route? Or I have to use the Controller? For performances reason... Posts: 1 Participants: 1 Read full topic

View Article


Infinite rendering invalidation detected (fastboot)

@midget2000x wrote: I've been cruising along on my fastboot test project and somehow the error handling for my ember project changed. It used to throw errors in the normal way - in the terminal...

View Article

Problem Using Javascript Library in Ember

@skuzzie wrote: I am currently trying to implement wavesurfer.js into an Ember.js component. So far I've imported it into my ember-cli-build.js file like so:...

View Article

Getting attributes from Internal Models

@dizip wrote: Hi, when i get response and serialize it to jsonapi i have bad-looking response. I'm talking about long path to attributes.Before using ember-data i just created objects with computed...

View Article


Image may be NSFW.
Clik here to view.

Component extending

@vasa-chi wrote: Hi. Is there any way to make a component that extends another component?Here's the code: // my-base-component.js export default Ember.Component.extend({ classNames:...

View Article

Element ember-view

@GELight wrote: Hi, For what the ember-view element is needed?For example ... If I works with CSS frameworks like bootstrap these element makes the css needed structure broken. What is the meaning of...

View Article

Can't update duplicate component on changing one instance of component

@Nishant wrote: Here i am using one component to change date and using two instances of the same component "FromDate" and "toDate". Here is my component from which i am calling both date-picker...

View Article


How to get removed models for delete their from backend?

@kaermorchen wrote: Hello. I have model which has hasMany relationship - routePoints. In template I render objects from this relationship. And when I want to remove one point from routePoints I do it...

View Article


"Global" action with a search field used in various places?

@midget2000x wrote: One thing I can't seem to get my head around is how to use an action associated with a search field that can appear in different places in the app. Right now I'm literally using a...

View Article

Pass action from input and set checked from parent component

@ezy wrote: I need to use an ember checkbox input to send an action to a parent controller. The child controller is nested in the parent and the action is sent from the child controller. The problem...

View Article

Image may be NSFW.
Clik here to view.

Fastboot and initial CSS animations

@bjerh wrote: Hi guys You can see our website here: pentia.dk Stelton Udvikling af e-commerceløsning integreret med experience-platform. Design af nordisk stilunivers. I have a CSS animation rich page...

View Article

Pods: Components in namespace

@huberts wrote: Hello! I have my components stored in pods structure, placed in directory: app/pods/components/myownnamespace and there go the components' folders. I use them in templates like this:...

View Article


Image may be NSFW.
Clik here to view.

I cannot use my external images

@Krim_njw wrote: When I set the locationType to 'hash',there is nothing wrong in my app.However,if I change the locationType to "history",I cannot get the images. The console of Chrome told me "the...

View Article

Processing Multiple Sass Files

@ousikaa wrote: When I run ember build --prod, I would like to process different sass files and output multiple corresponding css files (in our app, we serve different css based on what url is used to...

View Article


Multiple observers on same property

@ioanszabo wrote: Hi, I have an controller called Base which defines a property that observe a service property.Then I have seven controllers that extends this base controller. The problem is that if...

View Article

Route Reload Handling Failures (RSVP.hash for model)

@iaskquestions wrote: I periodically call .refresh() on my route as I am not using Ember data but instead rely on RSVP.hash. This allows me pretend that my application is autoreloading and works fine...

View Article


Image may be NSFW.
Clik here to view.

Load results from database in select box onchange event

@mahaniff wrote: hi guys Can anyone guide me how to load data from database when i change the value on the select box? i came up with a solution but its not working. my component.js actions:{...

View Article

Small js snippets for templates

@esbelf wrote: My current problem is that I want to add small JS functions to my templates. My current design solution is to append to the bottom of the .hbs template the JS script. Such as the one...

View Article

Add-ons depending on other add-on with bower dependency

@Kuka_123 wrote: Hi, I am having an add-on ( say A ) which is dependent on other add-on ( say B ). "B" add-on has bower dependency in it which is mentioned in its bower.json and default blueprint like...

View Article
Browsing all 4826 articles
Browse latest View live