1

I'm trying to get HTML displayed from data coming back from an API. Yes, I understand there is XSS consequences, but it's from a trusted HTTPS source.

The code is:

<template is="dom-repeat" items="{{response}}" id="eventList">
    <h2>{{item.EventName}}</h2>
    {{item.Description}}
</template>

I've seen some questions on how to do it for individual sections, but not for a dom-repeat.

Thanks!

Jamie R Rytlewski
  • 1,172
  • 9
  • 22

0 Answers0