Reputation: 16085
I have a component with a "label" attribute and since this label will not change, I want to specify it when I declare the component:
<parking-list
label="PARKINGS"
parkings="{{parkings}}"
on-showparking="parkingList_showParkingHandler"></parking-list>
<parking-list
label="SHOP AND GO"
parkings="{{shopAndGoParkings}}"
on-showparking="parkingList_showParkingHandler"></parking-list>
The label value is not rendered properly though. I worked around this with label="{{'PARKINGS'}}"
. Is this simply not supported or will this be supported in a future release?
Upvotes: 0
Views: 58