Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : Passing scope value to global helper in can.Component

$
0
0
Create fiddle.

BTW I would recommend you make your own component for l10n and i18n for example I made:

<t-text dict="dict" lang="en" key="appTitle"></t-text>

where I pass a dictionary, lang and key to find an display value, dict and lang maybe optional (for example globally defined) as you choose.

Viewing all articles
Browse latest Browse all 3491

Trending Articles