Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4828

Static properties throughout the app

$
0
0

@Deepak_Negi_Sunny wrote:

Dear Members,

I want to access few properties from anywhere in the app, say: myAppName, I want this property in route and components. Please give standard way out to do so in ember 2.3.

Also, plz tell how to make a model which may hold global properties and can be imported and used in .js and .hbs files direcly say, myAppName in {{abc.myAppName}} where abc is

import abc from '../..../';

Regards

Dn

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4828

Trending Articles