Polymer.AppLocalizeBehavior: how does it work with dom-repeat?

122 views
Skip to first unread message

Nicolas Ocquidant

unread,
May 19, 2016, 12:31:45 PM5/19/16
to Polymer
I try to use the new behavior: Polymer.AppLocalizeBehavior, but I can't get it work inside template (dom-repeat). 
Does it work? If yes how?

<template>
...
<div class="content">
<div class="card-container">
{{localize('greeting')}} <---- OK!

<div class="layout horizontal wrap">
<template is="dom-repeat" items="{{employees}}">
<paper-card>
<div class="card-content">
<h2>{{localize('greeting')}}</h2> <---- Empty....


Thanks for your help
--nick

Nicolas Ocquidant

unread,
May 19, 2016, 3:12:02 PM5/19/16
to Polymer
Reply all
Reply to author
Forward
0 new messages